Includes <io.h> on windows for ConsoleTest.

This commit is contained in:
James Chen 2013-12-05 16:12:04 +08:00
parent 2b857ebb52
commit b0c09cd291
1 changed files with 4 additions and 0 deletions

View File

@ -25,7 +25,11 @@
#include "ConsoleTest.h"
#include "../testResource.h"
#if (CC_TARGET_PLATFORM != CC_PLATFORM_WIN32)
#include <unistd.h>
#else
#include <io.h>
#endif
//------------------------------------------------------------------
//