windows specific code should be #ifdef WIN32 protected
This commit is contained in:
parent
32e83fc1e7
commit
97ed1aa70a
|
@ -25,7 +25,9 @@
|
|||
|
||||
/////// Console vars
|
||||
#define BUFFER_SIZE 100
|
||||
#ifdef WIN32
|
||||
HANDLE hConsole;
|
||||
#endif
|
||||
///////
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
|
|
|
@ -20,7 +20,9 @@
|
|||
#ifndef DEBUG_H
|
||||
#define DEBUG_H
|
||||
|
||||
#ifdef WIN32
|
||||
#include <windows.h>
|
||||
#endif
|
||||
#include "types.h"
|
||||
#include <stdio.h>
|
||||
|
||||
|
|
Loading…
Reference in New Issue