diff options
author | YamaArashi <shadow962@live.com> | 2015-11-23 17:44:06 -0800 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2015-11-23 17:44:06 -0800 |
commit | b951fb1113b9574002f5405ebcb4750c077746ff (patch) | |
tree | 5cfc5d5b9dec5525880ef1c9aebe083020c47937 /tools/gbagfx/global.h | |
parent | 22d87f81d7097f9d2eb79bd0c784f9c74d44a79c (diff) |
dumped fonts
Diffstat (limited to 'tools/gbagfx/global.h')
-rw-r--r-- | tools/gbagfx/global.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/tools/gbagfx/global.h b/tools/gbagfx/global.h index ce4d6925d..65dd351d2 100644 --- a/tools/gbagfx/global.h +++ b/tools/gbagfx/global.h @@ -14,6 +14,8 @@ do { \ exit(1); \ } while (0) +#define UNUSED + #else #define FATAL_ERROR(format, ...) \ @@ -22,14 +24,8 @@ do { \ exit(1); \ } while (0) -#endif // _MSC_VER - -#define GBAGFX_MAX_PATH 255 +#define UNUSED __attribute__((__unused__)) -#define CHECK_PATH_LENGTH(path) \ -do { \ - if (strlen(path) > GBAGFX_MAX_PATH) \ - FATAL_ERROR("\"%s\" is too long a path.\n", path); \ -} while (0) +#endif // _MSC_VER #endif // GLOBAL_H |