mirror of
https://github.com/curl/curl.git
synced 2026-07-31 18:28:05 +03:00
setup.h handles definition of _REENTRANT based on NEED_REENTRANT
definition which might be defined in config.h or config-*.h files
This commit is contained in:
parent
3d4fb5136d
commit
1ac1212925
5 changed files with 32 additions and 33 deletions
15
src/setup.h
15
src/setup.h
|
|
@ -72,11 +72,16 @@
|
|||
|
||||
#endif /* HAVE_CONFIG_H */
|
||||
|
||||
#if defined(CURLDEBUG) && defined(CURLTOOLDEBUG)
|
||||
/* This is an ugly hack for CURLDEBUG conditions only. We need to include
|
||||
the file here, since it might set the _FILE_OFFSET_BITS define, which must
|
||||
be set BEFORE all normal system headers. */
|
||||
#include "../lib/setup.h"
|
||||
/*
|
||||
* HP-UX needs _REENTRANT set for a few function prototypes and
|
||||
* things to appear in the system header files. Unixware needs it
|
||||
* to build proper reentrant code. Others may also need it.
|
||||
*/
|
||||
|
||||
#ifdef NEED_REENTRANT
|
||||
# ifndef _REENTRANT
|
||||
# define _REENTRANT
|
||||
# endif
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue