mittorn
9 years ago
14 changed files with 48 additions and 73 deletions
@ -0,0 +1,18 @@
@@ -0,0 +1,18 @@
|
||||
#ifndef EXPORTDEF_H |
||||
#define EXPORTDEF_H |
||||
#if defined _WIN32 || defined __CYGWIN__ |
||||
#ifdef __GNUC__ |
||||
#define EXPORT __attribute__ ((dllexport)) |
||||
#else |
||||
#define EXPORT __declspec(dllexport) // Note: actually gcc seems to also supports this syntax.
|
||||
#endif |
||||
#else |
||||
#if __GNUC__ >= 4 |
||||
#define EXPORT __attribute__ ((visibility ("default"))) |
||||
#else |
||||
#define EXPORT |
||||
#endif |
||||
#endif |
||||
#define DLLEXPORT EXPORT |
||||
#define _DLLEXPORT EXPORT |
||||
#endif // EXPORTDEF_H
|
Loading…
Reference in new issue