summaryrefslogtreecommitdiff
path: root/thread.h
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1998-01-30 09:23:36 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-01-30 09:23:36 +0000
commit76e3520e1f6b7df33cd381a2cf4f1fce3d69c8a4 (patch)
tree1d4e5f5653fd9def6bd71cc0cb536400223f4d3e /thread.h
parent6ad3d225cec2692b410002582f5558652eea32c8 (diff)
downloadperl-76e3520e1f6b7df33cd381a2cf4f1fce3d69c8a4.tar.gz
[asperl] added AS patch#2
p4raw-id: //depot/asperl@443
Diffstat (limited to 'thread.h')
-rw-r--r--thread.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/thread.h b/thread.h
index 2328f7ed82..726a59d003 100644
--- a/thread.h
+++ b/thread.h
@@ -183,5 +183,9 @@ typedef struct condpair {
#define THR
/* Rats: if dTHR is just blank then the subsequent ";" throws an error */
+#ifdef WIN32
+#define dTHR
+#else
#define dTHR extern int errno
+#endif
#endif /* USE_THREADS */