summaryrefslogtreecommitdiff
path: root/pthread.h
diff options
context:
space:
mode:
authorrpj <rpj>2004-05-06 00:55:13 +0000
committerrpj <rpj>2004-05-06 00:55:13 +0000
commit78b1607406fe42603b8aedd7642d1e4f944ee810 (patch)
tree752d8558e70c5590fe02a0cd35808aa75312082a /pthread.h
parent87441bbe5d3dae5e60f8ccf398aa2e17c1ad7b7a (diff)
''
Diffstat (limited to 'pthread.h')
-rw-r--r--pthread.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/pthread.h b/pthread.h
index 34cacc0..56759b5 100644
--- a/pthread.h
+++ b/pthread.h
@@ -155,6 +155,13 @@
#ifdef PTW32_INCLUDE_WINDOWS_H
#include <windows.h>
+
+#if _MSC_VER < 1300
+/*
+ * VC++6.0 or early compiler's header has no DWORD_PTR type.
+ */
+typedef unsigned long DWORD_PTR;
+#endif
#endif
/*