aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJonathan Marshall <jmarshall@never.you.mind>2011-07-26 09:52:58 +1200
committerJonathan Marshall <jmarshall@never.you.mind>2011-07-26 09:52:58 +1200
commit96ecf5ae8b8471aa7aa9e44f12c541b94aefa907 (patch)
treed8393d83fe0e4814a9cdff35d0c7fb21bd1d6992 /tools
parent8a8ad827e832f70c6d540c35ba9e9752f7926dde (diff)
fix win32 build of TexturePacker
Diffstat (limited to 'tools')
-rw-r--r--tools/TexturePacker/XBMCTex.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/tools/TexturePacker/XBMCTex.cpp b/tools/TexturePacker/XBMCTex.cpp
index 1777f6cab8..b1c0105f61 100644
--- a/tools/TexturePacker/XBMCTex.cpp
+++ b/tools/TexturePacker/XBMCTex.cpp
@@ -19,16 +19,18 @@
*
*/
-//#include <sys/types.h>
-//#include <sys/stat.h>
+#ifdef _WIN32
+#include <sys/types.h>
+#include <sys/stat.h>
+#define __STDC_FORMAT_MACROS
+#include <inttypes.h>
+#endif
//#include <string>
#include <cerrno>
//#include <cstring>
-//#include <inttypes.h>
#include <dirent.h>
#include <map>
-//#define __STDC_FORMAT_MACROS
#include <SDL/SDL.h>
#include <SDL/SDL_image.h>
#undef main