|
|
|
@ -73,12 +73,18 @@ typedef uint64_t longtime_t;
@@ -73,12 +73,18 @@ typedef uint64_t longtime_t;
|
|
|
|
|
#define EXPORT __attribute__ ((visibility ("default"))) |
|
|
|
|
#define GAME_EXPORT |
|
|
|
|
#endif |
|
|
|
|
#define _format(x) __attribute__((format(printf, x, x+1))) |
|
|
|
|
#define NORETURN __attribute__((noreturn)) |
|
|
|
|
#elif defined(_MSC_VER) |
|
|
|
|
#define EXPORT __declspec( dllexport ) |
|
|
|
|
#define GAME_EXPORT |
|
|
|
|
#define _format(x) |
|
|
|
|
#define NORETURN |
|
|
|
|
#else |
|
|
|
|
#define EXPORT |
|
|
|
|
#define GAME_EXPORT |
|
|
|
|
#define _format(x) |
|
|
|
|
#define NORETURN |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|