]> granicus.if.org Git - php/commitdiff
- add EG(windows_version_info), set at init time once per instance
authorPierre Joye <pajoye@php.net>
Fri, 16 Jan 2009 00:57:43 +0000 (00:57 +0000)
committerPierre Joye <pajoye@php.net>
Fri, 16 Jan 2009 00:57:43 +0000 (00:57 +0000)
  contains a OSVERSIONINFOEX struct. It lets us determine easily on which windows version is used (for example)

Zend/zend_globals.h

index 9a702b10e6eb322fafbf557998a10f9b0840c78c..51baf773ef1029a093205a83746abf5dc9b1b6f0 100644 (file)
@@ -215,6 +215,7 @@ struct _zend_executor_globals {
 
 #ifdef ZEND_WIN32
        zend_bool timed_out;
+       OSVERSIONINFOEX windows_version_info;
 #endif
 
        HashTable regular_list;