com php-src: pickup the alignment definition: win32/build/config.w32
| From: | Anatol Belski | Date: | Mon, 22 Sep 2014 08:26:49 +0000 |
| Subject: | com php-src: pickup the alignment definition: win32/build/config.w32 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-81854@lists.php.net to get a copy of this message | ||
Commit: f2e636de051f2891a492d3ceaabc3afd6f930c7f
Author: Anatol Belski <ab@php.net> Mon, 22 Sep 2014 10:26:49 +0200
Parents: 6bb530d1eba583143efda0b4f49e43cb6d6fb203
Branches: native-tls
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=f2e636de051f2891a492d3ceaabc3afd6f930c7f
Log:
pickup the alignment definition
Changed paths:
M win32/build/config.w32
Diff:
diff --git a/win32/build/config.w32 b/win32/build/config.w32
index a947464..a7b5250 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");