diff options
author | MilhouseVH <milhouseVH.github@nmacleod.com> | 2017-11-06 11:47:28 +0000 |
---|---|---|
committer | MilhouseVH <milhouseVH.github@nmacleod.com> | 2017-11-06 18:23:28 +0000 |
commit | ebc5dfcad836936a14e6f18fd7faa377b3c804e7 (patch) | |
tree | 8127ce740c2014de128a7678748660b8fbd80c07 /tools | |
parent | 9e64d1b1a77bf3b44a9f9d40ed94a672fe05b6de (diff) |
TexturePacker: use C++ headers
Diffstat (limited to 'tools')
6 files changed, 10 insertions, 10 deletions
diff --git a/tools/depends/native/TexturePacker/src/SimpleFS.h b/tools/depends/native/TexturePacker/src/SimpleFS.h index c48814c0ad..c2288cf8de 100644 --- a/tools/depends/native/TexturePacker/src/SimpleFS.h +++ b/tools/depends/native/TexturePacker/src/SimpleFS.h @@ -20,9 +20,9 @@ * */ -#include <stdio.h> +#include <cstdio> #include <string> -#include <stdint.h> +#include <cstdint> class CFile { diff --git a/tools/depends/native/TexturePacker/src/TexturePacker.cpp b/tools/depends/native/TexturePacker/src/TexturePacker.cpp index ba618be574..045c5ce38d 100644 --- a/tools/depends/native/TexturePacker/src/TexturePacker.cpp +++ b/tools/depends/native/TexturePacker/src/TexturePacker.cpp @@ -22,7 +22,7 @@ #include <sys/types.h> #include <sys/stat.h> #define __STDC_FORMAT_MACROS -#include <inttypes.h> +#include <cinttypes> #define platform_stricmp _stricmp #else #define platform_stricmp stricmp diff --git a/tools/depends/native/TexturePacker/src/XBTFWriter.cpp b/tools/depends/native/TexturePacker/src/XBTFWriter.cpp index 9e2493369b..2e80ba674c 100644 --- a/tools/depends/native/TexturePacker/src/XBTFWriter.cpp +++ b/tools/depends/native/TexturePacker/src/XBTFWriter.cpp @@ -19,14 +19,14 @@ */ #define __STDC_FORMAT_MACROS -#include <inttypes.h> +#include <cinttypes> #if defined(TARGET_FREEBSD) || defined(TARGET_DARWIN) -#include <stdlib.h> +#include <cstdlib> #elif !defined(TARGET_DARWIN) #include <malloc.h> #endif #include <memory.h> -#include <string.h> +#include <cstring> #include "XBTFWriter.h" #include "guilib/XBTFReader.h" diff --git a/tools/depends/native/TexturePacker/src/XBTFWriter.h b/tools/depends/native/TexturePacker/src/XBTFWriter.h index 7509303a51..d5cf1a2965 100644 --- a/tools/depends/native/TexturePacker/src/XBTFWriter.h +++ b/tools/depends/native/TexturePacker/src/XBTFWriter.h @@ -23,7 +23,7 @@ #include <vector> #include <string> -#include <stdio.h> +#include <cstdio> #include "guilib/XBTF.h" diff --git a/tools/depends/native/TexturePacker/src/decoder/GifHelper.cpp b/tools/depends/native/TexturePacker/src/decoder/GifHelper.cpp index 56c22f7c3a..3ddb20fe88 100644 --- a/tools/depends/native/TexturePacker/src/decoder/GifHelper.cpp +++ b/tools/depends/native/TexturePacker/src/decoder/GifHelper.cpp @@ -20,7 +20,7 @@ #include "GifHelper.h" #include <algorithm> -#include <stdlib.h> +#include <cstdlib> #include <cstring> #define UNSIGNED_LITTLE_ENDIAN(lo, hi) ((lo) | ((hi) << 8)) diff --git a/tools/depends/native/TexturePacker/src/md5.h b/tools/depends/native/TexturePacker/src/md5.h index 456e5be17f..4bb48e0810 100644 --- a/tools/depends/native/TexturePacker/src/md5.h +++ b/tools/depends/native/TexturePacker/src/md5.h @@ -23,8 +23,8 @@ #ifndef MD5_H #define MD5_H -#include <string.h> /* for memcpy() */ -#include <stdint.h> +#include <cstring> /* for memcpy() */ +#include <cstdint> struct MD5Context { |