Commit d253ef4f authored by Yutong Zhao's avatar Yutong Zhao
Browse files

fixes WINDOWS_EXPORT if compiling shared DLLs on windows

parent 15387c32
...@@ -13,6 +13,8 @@ typedef unsigned long long bitmask_t; ...@@ -13,6 +13,8 @@ typedef unsigned long long bitmask_t;
typedef unsigned int halfmask_t; typedef unsigned int halfmask_t;
#if defined(OPENMM_BUILDING_SHARED_LIBRARY) #if defined(OPENMM_BUILDING_SHARED_LIBRARY)
#define WINDOWS_EXPORT __declspec(dllexport) #define WINDOWS_EXPORT __declspec(dllexport)
#else
#define WINDOWS_EXPORT
#endif #endif
#else #else
#include <stdint.h> #include <stdint.h>
......
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