Permalink
Browse files

fix win32 build of TexturePacker

  • Loading branch information...
1 parent 8a8ad82 commit 96ecf5ae8b8471aa7aa9e44f12c541b94aefa907 Jonathan Marshall committed Jul 25, 2011
Showing with 6 additions and 4 deletions.
  1. +6 −4 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

0 comments on commit 96ecf5a

Please sign in to comment.