Commit f1377213 authored by Jose Fonseca's avatar Jose Fonseca

s/WIN32/_WIN32/

The proper macro for Windows operating systems is _WIN32 and not WIN32.
Thanks to Vinson Lee to remind me of that.
parent 8e921b62
......@@ -38,7 +38,7 @@
extern "C" {
#endif
#ifdef WIN32
#ifdef _WIN32
#include <windows.h>
#endif
......
......@@ -38,7 +38,7 @@
extern "C" {
#endif
#ifdef WIN32
#ifdef _WIN32
#include <windows.h>
#endif
......
......@@ -29,7 +29,7 @@
#include "piglit-util.h"
#include "piglit-framework.h"
#if defined(WIN32)
#if defined(_WIN32)
#undef near
#undef far
#endif
......
......@@ -31,7 +31,7 @@
* with point sprites enabled.
*/
#if defined(WIN32)
#if defined(_WIN32)
#include <windows.h>
#endif
......
......@@ -31,7 +31,7 @@
#endif
#include <string.h>
#include <ctype.h>
#if defined(WIN32)
#if defined(_WIN32)
#include <stdlib.h>
#else
#include <libgen.h>
......@@ -904,7 +904,7 @@ piglit_init(int argc, char **argv)
if (argc > 2) {
path = argv[2];
} else {
#if defined(WIN32)
#if defined(_WIN32)
char drive[_MAX_DRIVE];
char dir[_MAX_DIR];
char fname[_MAX_FNAME];
......
......@@ -29,7 +29,7 @@
#include "piglit-util.h"
#include "piglit-framework.h"
#if defined(WIN32)
#if defined(_WIN32)
#undef near
#undef far
#endif
......
......@@ -2365,7 +2365,7 @@ PFNGLTEXCOORD4FVERTEX4FVSUNPROC __glewTexCoord4fVertex4fvSUN = NULL;
PFNGLADDSWAPHINTRECTWINPROC __glewAddSwapHintRectWIN = NULL;
#endif /* !WIN32 || !GLEW_MX */
#endif /* !_WIN32 || !GLEW_MX */
#if !defined(GLEW_MX)
......
......@@ -21,7 +21,7 @@
* USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#if defined(WIN32)
#if defined(_WIN32)
#include <windows.h>
#endif
......
......@@ -21,7 +21,7 @@
* USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#if defined(WIN32)
#if defined(_WIN32)
#include <windows.h>
#endif
......
......@@ -21,7 +21,7 @@
* USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#if defined(WIN32)
#if defined(_WIN32)
#include <windows.h>
#endif
......
......@@ -25,7 +25,7 @@
#include "config.h"
#if defined(WIN32)
#if defined(_WIN32)
#include <windows.h>
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment