Skip to content

Commit

Permalink
[core] Fix build for other os than windows
Browse files Browse the repository at this point in the history
  • Loading branch information
yomnes0 committed Mar 5, 2024
1 parent eec3cda commit b952bb6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion srtcore/srt.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ written by
#define INC_SRTC_H

#ifndef SRT_API

#ifdef _WIN32
#ifdef SRT_DYNAMIC
#ifdef SRT_EXPORTS
#define SRT_API __declspec(dllexport)
Expand All @@ -30,6 +30,7 @@ written by
#else
#define SRT_API __attribute__ ((visibility("default")))
#endif
#endif

#include "version.h"

Expand Down

0 comments on commit b952bb6

Please sign in to comment.