Commit 6c698fec by Wenzel Jakob

Fix usage of WIN32 define

parent a2f6fde0
......@@ -17,7 +17,7 @@
#endif
#if !defined(PYTHON_EXPORT)
#if defined(WIN32)
#if defined(WIN32) || defined(_WIN32)
#define PYTHON_EXPORT __declspec(dllexport)
#else
#define PYTHON_EXPORT __attribute__ ((visibility("default")))
......
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