[php-src] master: main: group Windows globals together

Gina Peter Banyard <[email protected]> Thu, 30 Jul 2026 08:46:06 +0000
Newsgroups gmane.comp.php.cvs.general
Message-ID <[email protected]>
Author: Gina Peter Banyard (Girgias)
Date: 2026-07-30T09:45:57+01:00

Commit: https://github.com/php/php-src/commit/1de8f4f16d71d33f432e7f24903aba53d9738256
Raw diff: https://github.com/php/php-src/commit/1de8f4f16d71d33f432e7f24903aba53d9738256.diff

main: group Windows globals together

Changed paths:
  M  main/php_globals.h


Diff:

diff --git a/main/php_globals.h b/main/php_globals.h
index 5e6b7a30e85b..333daab69ff6 100644
--- a/main/php_globals.h
+++ b/main/php_globals.h
@@ -158,12 +158,10 @@ struct _php_core_globals {
 	bool in_error_log;
 
 	bool allow_url_include;
-#ifdef PHP_WIN32
-	bool com_initialized;
-#endif
 	bool in_user_include;
 
 #ifdef PHP_WIN32
+	bool com_initialized;
 	bool windows_show_crt_warning;
 #endif