windows specific code should be #ifdef WIN32 protected

This commit is contained in:
yabause 2008-05-02 19:11:00 +00:00
parent 32e83fc1e7
commit 97ed1aa70a
2 changed files with 5 additions and 1 deletions

View File

@ -25,7 +25,9 @@
/////// Console vars /////// Console vars
#define BUFFER_SIZE 100 #define BUFFER_SIZE 100
#ifdef WIN32
HANDLE hConsole; HANDLE hConsole;
#endif
/////// ///////
////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////

View File

@ -20,7 +20,9 @@
#ifndef DEBUG_H #ifndef DEBUG_H
#define DEBUG_H #define DEBUG_H
#ifdef WIN32
#include <windows.h> #include <windows.h>
#endif
#include "types.h" #include "types.h"
#include <stdio.h> #include <stdio.h>