We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 457e497 commit a3d90efCopy full SHA for a3d90ef
win32/build/confutils.js
@@ -126,6 +126,13 @@ build_dirs = new Array();
126
extension_include_code = "";
127
extension_module_ptrs = "";
128
129
+(function () {
130
+ var wmiservice = GetObject("winmgmts:{impersonationLevel=impersonate}!\\\\.\\root\\cimv2");
131
+ var oss = wmiservice.ExecQuery("Select * from Win32_OperatingSystem");
132
+ var os = oss.ItemIndex(0);
133
+ AC_DEFINE("PHP_BUILD_SYSTEM", os.Caption + " [" + os.Version + "]", "Windows build system version");
134
+}());
135
+
136
if (!MODE_PHPIZE) {
137
get_version_numbers();
138
}
0 commit comments