diff options
| author | Anatol Belski <ab@php.net> | 2014-09-22 10:26:49 +0200 |
|---|---|---|
| committer | Anatol Belski <ab@php.net> | 2014-09-22 10:26:49 +0200 |
| commit | f2e636de051f2891a492d3ceaabc3afd6f930c7f (patch) | |
| tree | 30871b1306313ca5993f53812c9f437b6bc21525 | |
| parent | 6bb530d1eba583143efda0b4f49e43cb6d6fb203 (diff) | |
| download | php-git-f2e636de051f2891a492d3ceaabc3afd6f930c7f.tar.gz | |
pickup the alignment definition
| -rw-r--r-- | win32/build/config.w32 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/win32/build/config.w32 b/win32/build/config.w32 index a9474642ea..a7b525075d 100644 --- a/win32/build/config.w32 +++ b/win32/build/config.w32 @@ -221,7 +221,8 @@ if (PHP_DEBUG == "yes") { } if (PHP_ZTS == "yes") { - ADD_FLAG("CFLAGS", "/D ZTS=1 /D USE___THREAD=1"); + var tsrm_align = X64 ? 8 : 4; + ADD_FLAG("CFLAGS", "/D ZTS=1 /D USE___THREAD=1 /D TSRM_MM_ALIGNMENT=" + tsrm_align); ADD_FLAG("ZTS", "1"); } else { ADD_FLAG("ZTS", "0"); |
