Created
April 5, 2015 20:37
-
-
Save mgdm/27de5f8d7dd47bdcb522 to your computer and use it in GitHub Desktop.
Fix compile on Linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Zend/zend.c b/Zend/zend.c | |
index abaa0d2..99e560a 100644 | |
--- a/Zend/zend.c | |
+++ b/Zend/zend.c | |
@@ -399,6 +399,7 @@ static void zend_set_default_compile_time_values(void) /* {{{ */ | |
} | |
/* }}} */ | |
+#ifdef ZEND_WIN32 | |
static void zend_get_windows_version_info(OSVERSIONINFOEX *osvi) /* {{{ */ | |
{ | |
ZeroMemory(osvi, sizeof(OSVERSIONINFOEX)); | |
@@ -408,6 +409,7 @@ static void zend_get_windows_version_info(OSVERSIONINFOEX *osvi) /* {{{ */ | |
} | |
} | |
/* }}} */ | |
+#endif | |
static void zend_init_exception_op(void) /* {{{ */ | |
{ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment