com php-src: Drop this struct (it was only used for VC6 which we don't support anyway): ext/standard/info.c ext/standard/winver.h
| From: | Kalle Sommer Nielsen | Date: | Sun, 29 Mar 2015 04:20:30 +0000 |
| Subject: | com php-src: Drop this struct (it was only used for VC6 which we don't support anyway): ext/standard/info.c ext/standard/winver.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-85916@lists.php.net to get a copy of this message | ||
Commit: f8590f7100e54a7d0de1e3ded64f6c27613dc7e0
Author: Kalle Sommer Nielsen <kalle@php.net> Sun, 29 Mar 2015 06:20:30 +0200
Parents: 1a0534077fcb1f8a988b6cb3f600687c1706f36c
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=f8590f7100e54a7d0de1e3ded64f6c27613dc7e0
Log:
Drop this struct (it was only used for VC6 which we don't support anyway)
Changed paths:
M ext/standard/info.c
M ext/standard/winver.h
Diff:
diff --git a/ext/standard/info.c b/ext/standard/info.c
index 093bc21..e4447be 100644
--- a/ext/standard/info.c
+++ b/ext/standard/info.c
@@ -45,9 +45,6 @@ typedef void (WINAPI *PGNSI)(LPSYSTEM_INFO);
typedef BOOL (WINAPI *PGPI)(DWORD, DWORD, DWORD, DWORD, PDWORD);
# include "winver.h"
-# if _MSC_VER < 1300
-# define OSVERSIONINFOEX php_win_OSVERSIONINFOEX
-# endif
#endif
#define SECTION(name) if (!sapi_module.phpinfo_as_text) { \
diff --git a/ext/standard/winver.h b/ext/standard/winver.h
index 4c3019b..069a147 100644
--- a/ext/standard/winver.h
+++ b/ext/standard/winver.h
@@ -80,18 +80,4 @@
#define PROCESSOR_ARCHITECTURE_AMD64 9
#endif
-typedef struct _php_win_OSVERSIONINFOEXA {
- DWORD dwOSVersionInfoSize;
- DWORD dwMajorVersion;
- DWORD dwMinorVersion;
- DWORD dwBuildNumber;
- DWORD dwPlatformId;
- CHAR szCSDVersion[128];
- WORD wServicePackMajor;
- WORD wServicePackMinor;
- WORD wSuiteMask;
- BYTE wProductType;
- BYTE wReserved;
-} php_win_OSVERSIONINFOEX;
-
#endif