bjh 99/10/18 02:44:08
Modified: src/lib/apr acconfig.h Log: OS/2: Prevent locking around C library functions as they are thread safe. Revision Changes Path 1.8 +5 -0 apache-2.0/src/lib/apr/acconfig.h Index: acconfig.h =================================================================== RCS file: /home/cvs/apache-2.0/src/lib/apr/acconfig.h,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- acconfig.h 1999/10/14 17:38:45 1.7 +++ acconfig.h 1999/10/18 09:44:07 1.8 @@ -24,6 +24,11 @@ #define ENUM_BITFIELD(e,n,w) e n : w #endif +/* OS/2's C library is thread safe but doesn't define this */ +#ifdef OS2 +#define _POSIX_THREAD_SAFE_FUNCTIONS +#endif + @TOP@ /* Various #defines we need to know about */