]> 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 10:03:21 +0000 (10:03 +0000)
committerPierre Joye <pajoye@php.net>
Fri, 16 Jan 2009 10:03:21 +0000 (10:03 +0000)
  contains a OSVERSIONINFOEX struct. It lets us determine easily on which windows version is used (for example)

Zend/zend_globals.h

index 3e2c8a8262b839e7305f12e82e345012e64c1255..e8835a8ae6402711fb6272571e566c639749e478 100644 (file)
@@ -203,6 +203,7 @@ struct _zend_executor_globals {
 
 #ifdef ZEND_WIN32
        zend_bool timed_out;
+       OSVERSIONINFOEX windows_version_info;
 #endif
 
        HashTable regular_list;