diff options
author | bjh <bjh@13f79535-47bb-0310-9956-ffa450edef68> | 1999-10-18 09:44:07 +0000 |
---|---|---|
committer | bjh <bjh@13f79535-47bb-0310-9956-ffa450edef68> | 1999-10-18 09:44:07 +0000 |
commit | f18cd4aea0f902f3eaa386440acf42a133abfc67 (patch) | |
tree | 2e4c80d14bc344e6c6cbcde4bce8a014efe80ecf /acconfig.h | |
parent | 048b402d7afe6e128398016301b380248c558248 (diff) | |
download | libapr-f18cd4aea0f902f3eaa386440acf42a133abfc67.tar.gz |
OS/2: Prevent locking around C library functions as they are thread safe.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59363 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'acconfig.h')
-rw-r--r-- | acconfig.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/acconfig.h b/acconfig.h index f53ae50cf..ecc0c3b0a 100644 --- a/acconfig.h +++ b/acconfig.h @@ -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 */ |