mirror of
https://github.com/curl/curl.git
synced 2026-08-25 01:33:31 +03:00
Refactor how preprocessor symbol _THREAD_SAFE definition is done.
This commit is contained in:
parent
a8ddd6ce31
commit
1cbc93fb54
10 changed files with 243 additions and 65 deletions
11
src/setup.h
11
src/setup.h
|
|
@ -68,6 +68,17 @@
|
|||
|
||||
#endif /* HAVE_CONFIG_H */
|
||||
|
||||
/*
|
||||
* AIX 4.3 and newer needs _THREAD_SAFE defined to build
|
||||
* proper reentrant code. Others may also need it.
|
||||
*/
|
||||
|
||||
#ifdef NEED_THREAD_SAFE
|
||||
# ifndef _THREAD_SAFE
|
||||
# define _THREAD_SAFE
|
||||
# endif
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Tru64 needs _REENTRANT set for a few function prototypes and
|
||||
* things to appear in the system header files. Unixware needs it
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue