aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoramet <amet.nospam@gmail.com>2013-10-12 22:34:38 +0400
committeramet <amet.nospam@gmail.com>2013-10-12 22:34:38 +0400
commitee9b6e80bda77c3d359416093d729233cb41429f (patch)
tree95974e825a9efdace4f15914616df6a0c60fb263
parent40433f8dee8aaf3a351c5431cd7e5f344ca888f5 (diff)
[xcode5] fix texturePacker
-rw-r--r--tools/TexturePacker/XBTFWriter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/TexturePacker/XBTFWriter.cpp b/tools/TexturePacker/XBTFWriter.cpp
index f238f87958..339990c412 100644
--- a/tools/TexturePacker/XBTFWriter.cpp
+++ b/tools/TexturePacker/XBTFWriter.cpp
@@ -23,7 +23,7 @@
#include <inttypes.h>
#include "guilib/XBTF.h"
#include "utils/EndianSwap.h"
-#if defined(TARGET_FREEBSD)
+#if defined(TARGET_FREEBSD) || defined(TARGET_DARWIN)
#include <stdlib.h>
#elif !defined(TARGET_DARWIN)
#include <malloc.h>