Use _WIN32 to detect if building for Windows.

This commit is contained in:
Adam Murdoch
2014-03-15 16:13:53 +11:00
parent 9f18c944b8
commit d90112d086
5 changed files with 4 additions and 5 deletions

View File

@@ -17,7 +17,7 @@
/*
* Curses functions
*/
#ifndef WIN32
#ifndef _WIN32
#include "native.h"
#include "generic.h"

View File

@@ -17,7 +17,7 @@
/*
* POSIX platform functions.
*/
#ifndef WIN32
#ifndef _WIN32
#include "native.h"
#include "generic.h"

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
#ifdef WIN32
#ifdef _WIN32
#include "native.h"
#include "generic.h"

View File

@@ -17,7 +17,7 @@
/*
* POSIX platform functions.
*/
#ifndef WIN32
#ifndef _WIN32
#include "native.h"
#include "generic.h"