diff options
Diffstat (limited to 'Modules/_ctypes/_ctypes_test.c')
-rw-r--r-- | Modules/_ctypes/_ctypes_test.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Modules/_ctypes/_ctypes_test.c b/Modules/_ctypes/_ctypes_test.c index 8a0e5e9195..40da652620 100644 --- a/Modules/_ctypes/_ctypes_test.c +++ b/Modules/_ctypes/_ctypes_test.c @@ -4,11 +4,7 @@ #include <windows.h> #endif -#if defined(MS_WIN32) || defined(__CYGWIN__) -#define EXPORT(x) __declspec(dllexport) x -#else -#define EXPORT(x) x -#endif +#define EXPORT(x) Py_EXPORTED_SYMBOL x /* some functions handy for testing */ |