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
#define BUFFER_SIZE 100
#ifdef WIN32
HANDLE hConsole;
#endif
///////
//////////////////////////////////////////////////////////////////////////////
@ -214,4 +216,4 @@ void printlog(char *fmt, ...) {
WriteConsole(hConsole,ptr, (DWORD)len, &tmp, 0);
}
#endif
#endif
#endif

View File

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