aboutsummaryrefslogtreecommitdiff
path: root/tools/create_kyradat/util.h
diff options
context:
space:
mode:
authorMax Horn2009-10-02 14:42:24 +0000
committerMax Horn2009-10-02 14:42:24 +0000
commitf54e82e4880767f6e71c83840bff1ae8e0feda3d (patch)
tree30f39e823d322bae805faac95fd2e65023d29a0c /tools/create_kyradat/util.h
parent01176782ead27701b4700f458fbad3f8a84514af (diff)
downloadscummvm-rg350-f54e82e4880767f6e71c83840bff1ae8e0feda3d.tar.gz
scummvm-rg350-f54e82e4880767f6e71c83840bff1ae8e0feda3d.tar.bz2
scummvm-rg350-f54e82e4880767f6e71c83840bff1ae8e0feda3d.zip
Fix more cppcheck warnings/errors; some code formatting; and fixes to our tools
svn-id: r44539
Diffstat (limited to 'tools/create_kyradat/util.h')
-rw-r--r--tools/create_kyradat/util.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/tools/create_kyradat/util.h b/tools/create_kyradat/util.h
index 0b5e729a05..7c044ae04f 100644
--- a/tools/create_kyradat/util.h
+++ b/tools/create_kyradat/util.h
@@ -53,9 +53,10 @@ typedef signed short int16;
typedef signed int int32;
#if !defined(__cplusplus)
-typedef uint8 bool;
-#define false 0
-#define true 1
+enum bool {
+ false = 0,
+ true = 1
+};
/* If your C compiler doesn't support 'inline', please add a check for it. */
#if defined(_MSC_VER)