diff options
author | Anatol Belski <ab@php.net> | 2015-03-03 20:42:28 +0100 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2015-03-03 20:42:28 +0100 |
commit | 2841aa95db84f3563c94c90f84bf7f47ba159a2d (patch) | |
tree | 2df4f79b1dcc2494e61e0ec642ce5c5170d4c8cc /win32/php_win32_globals.h | |
parent | 82fd62df19e4467680bb3601fded911f2e60c574 (diff) | |
download | php-git-2841aa95db84f3563c94c90f84bf7f47ba159a2d.tar.gz |
fix thread safety for win32/sendmail
Diffstat (limited to 'win32/php_win32_globals.h')
-rw-r--r-- | win32/php_win32_globals.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/win32/php_win32_globals.h b/win32/php_win32_globals.h index ad2435d99c..b22c227eda 100644 --- a/win32/php_win32_globals.h +++ b/win32/php_win32_globals.h @@ -23,6 +23,8 @@ /* misc globals for thread-safety under win32 */ +#include "win32/sendmail.h" + typedef struct _php_win32_core_globals php_win32_core_globals; #ifdef ZTS @@ -41,6 +43,11 @@ struct _php_win32_core_globals { HKEY registry_key; HANDLE registry_event; HashTable *registry_directories; + + char mail_buffer[MAIL_BUFFER_SIZE]; + SOCKET mail_socket; + char mail_host[HOST_NAME_LEN]; + char mail_local_host[HOST_NAME_LEN]; }; void php_win32_core_globals_ctor(void *vg); |