mirror of
https://github.com/curl/curl.git
synced 2026-04-16 07:01:46 +03:00
if NEED_REENTRANT is set, define _REENTRANT already here since it has to
be defined as many include files as possible (Solaris req)
This commit is contained in:
parent
928ff54388
commit
6532f737eb
1 changed files with 8 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue