From b0c09cd291a0466e18f09d205c22f912352e9092 Mon Sep 17 00:00:00 2001 From: James Chen Date: Thu, 5 Dec 2013 16:12:04 +0800 Subject: [PATCH] Includes on windows for ConsoleTest. --- samples/Cpp/TestCpp/Classes/ConsoleTest/ConsoleTest.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/samples/Cpp/TestCpp/Classes/ConsoleTest/ConsoleTest.cpp b/samples/Cpp/TestCpp/Classes/ConsoleTest/ConsoleTest.cpp index 353931cdfe..d69518979f 100644 --- a/samples/Cpp/TestCpp/Classes/ConsoleTest/ConsoleTest.cpp +++ b/samples/Cpp/TestCpp/Classes/ConsoleTest/ConsoleTest.cpp @@ -25,7 +25,11 @@ #include "ConsoleTest.h" #include "../testResource.h" +#if (CC_TARGET_PLATFORM != CC_PLATFORM_WIN32) #include +#else +#include +#endif //------------------------------------------------------------------ //