projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
928ff54
)
if NEED_REENTRANT is set, define _REENTRANT already here since it has to
author
Daniel Stenberg
<daniel@haxx.se>
Thu, 31 May 2001 07:01:08 +0000
(07:01 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Thu, 31 May 2001 07:01:08 +0000
(07:01 +0000)
be defined as many include files as possible (Solaris req)
lib/setup.h
patch
|
blob
|
history
diff --git
a/lib/setup.h
b/lib/setup.h
index
6d28e3c
..
c343fb0
100644
(file)
--- a/
lib/setup.h
+++ b/
lib/setup.h
@@
-44,6
+44,14
@@
typedef char bool;
#endif /* (rabe) */
+#ifdef NEED_REENTRANT
+/* Solaris machines needs _REENTRANT set for a few function prototypes and
+ things to appear in the #include files. We need to #define it before all
+ #include files */
+#define _REENTRANT
+#endif
+
+
#include <stdio.h>
#ifndef OS
#ifdef WIN32