Put definition of _REENTRANT in config.h

This commit is contained in:
Guido van Rossum 1996-08-01 00:52:26 +00:00
parent cee555bda2
commit 9caf77a485
5 changed files with 72 additions and 74 deletions

View file

@ -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>