mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
Put definition of _REENTRANT in config.h
This commit is contained in:
parent
cee555bda2
commit
9caf77a485
5 changed files with 72 additions and 74 deletions
|
|
@ -41,12 +41,6 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|||
#define UsingSharedLibs
|
||||
#endif
|
||||
|
||||
#ifdef WITH_THREAD
|
||||
/* This turns errno in a thread-safe function on Solaris.
|
||||
Wonder what it will break though :-( */
|
||||
#define _REENTRANT
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue