Commit 082d27ed by Alan Mishchenko

Added option to compile on windows without DLL support.

parent 98d9d5a6
...@@ -36,8 +36,13 @@ ...@@ -36,8 +36,13 @@
#endif #endif
#ifdef WIN32 #ifdef WIN32
#define ABC_DLLEXPORT __declspec(dllexport) #ifdef WIN32_NO_DLL
#define ABC_DLLIMPORT __declspec(dllimport) #define ABC_DLLEXPORT
#define ABC_DLLIMPORT
#else
#define ABC_DLLEXPORT __declspec(dllexport)
#define ABC_DLLIMPORT __declspec(dllimport)
#endif
#else /* defined(WIN32) */ #else /* defined(WIN32) */
#define ABC_DLLIMPORT #define ABC_DLLIMPORT
#endif /* defined(WIN32) */ #endif /* defined(WIN32) */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment