diff options
author | Andi Gutmans <andi@php.net> | 2000-08-31 23:44:10 +0000 |
---|---|---|
committer | Andi Gutmans <andi@php.net> | 2000-08-31 23:44:10 +0000 |
commit | 3d95c23c967b1b10e56c363a700ae85f21e83869 (patch) | |
tree | 422efd43c3c4a39aa92bc75d965adc81fd1fd674 /TSRM/TSRM.h | |
parent | 7ee05bc6b02d2975494446e10303b27a60188172 (diff) | |
download | php-git-3d95c23c967b1b10e56c363a700ae85f21e83869.tar.gz |
- Support for always building TSRM into PHP
Diffstat (limited to 'TSRM/TSRM.h')
-rw-r--r-- | TSRM/TSRM.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/TSRM/TSRM.h b/TSRM/TSRM.h index dbf5fbe898..23dc73f8d2 100644 --- a/TSRM/TSRM.h +++ b/TSRM/TSRM.h @@ -21,6 +21,9 @@ # undef VERSION #endif +/* Only compile multi-threading functions if we're in ZTS mode */ +#ifdef ZTS + #if WIN32||WINNT # include <windows.h> #elif defined(GNUPTH) @@ -104,4 +107,6 @@ TSRM_API void *tsrm_set_new_thread_end_handler(void (*new_thread_end_handler)(TH } #endif +#endif /* ZTS */ + #endif /* TSRM_H */ |