summaryrefslogtreecommitdiff
path: root/pthread.h
diff options
context:
space:
mode:
authorrpj <rpj>2005-04-01 01:28:29 +0000
committerrpj <rpj>2005-04-01 01:28:29 +0000
commitf6f9976af7a520dd1aeced4f104f4d4711f28e23 (patch)
tree1a4e65f32d585c114af33772adfaa1995ffcf093 /pthread.h
parent25e5c566c5b050a04fc03851895f72750f016e4e (diff)
''
Diffstat (limited to 'pthread.h')
-rw-r--r--pthread.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/pthread.h b/pthread.h
index 9656cf4..d776188 100644
--- a/pthread.h
+++ b/pthread.h
@@ -37,8 +37,8 @@
* See the README file for an explanation of the pthreads-win32 version
* numbering scheme and how the DLL is named etc.
*/
-#define PTW32_VERSION 1,5,0,0
-#define PTW32_VERSION_STRING "1, 5, 0, 0\0"
+#define PTW32_VERSION 1,6,0,0
+#define PTW32_VERSION_STRING "1, 6, 0, 0\0"
/* There are three implementations of cancel cleanup.
* Note that pthread.h is included in both application
@@ -556,12 +556,14 @@ extern "C"
* do NOT define PTW32_BUILD, and then the variables/functions will
* be imported correctly.
*/
-#ifdef _DLL
+#ifndef PTW32_STATIC_LIB
# ifdef PTW32_BUILD
# define PTW32_DLLPORT __declspec (dllexport)
# else
# define PTW32_DLLPORT __declspec (dllimport)
# endif
+#else
+# define PTW32_DLLPORT
#endif
/*