Use stdint.h instead of cstdint.
authorDavid Korth <gerbilsoft@gerbilsoft.com>
Sat, 5 Sep 2015 16:50:28 +0000 (12:50 -0400)
committerDavid Korth <gerbilsoft@gerbilsoft.com>
Sat, 5 Sep 2015 16:50:28 +0000 (12:50 -0400)
MSVC 6.0 doesn't have either one, so I'm using a custom version of
stdint.h for compatibility. I don't have a cstdint file for VC6,
so just use stdint.h instead of cstdint.

That having been said, I just hit the infamous 'for' loop variable
scope bug in VC6, so I think I'm done trying to get Gens/GS II to
compile with a 17-year-old compiler.

src/libgens/Effects/FastBlur.cpp
src/libzomg/ZomgLoad.cpp
src/libzomg/ZomgSave.cpp

index 0ccd409..abdbeb7 100644 (file)
 
 // C includes.
 #include <stdlib.h>
+#include <stdint.h>
 
 // C includes. (C++ namespace)
 #include <cassert>
 #include <cmath>
-#include <cstdint>
 #include <cstring>
 
 #if defined(__GNUC__) && (defined(__i386__) || defined(__amd64__) || defined(__x86_64__))
index e415629..2fa3d95 100644 (file)
 #include "zomg_md_tmss_reg.h"
 #include "zomg_eeprom.h"
 
+// C includes.
+#include <stdint.h>
+
 // C includes. (C++ namespace)
 #include <cstddef>
-#include <cstdint>
 #include <cstring>
 #include <cassert>
 #include <cerrno>
index 9bfe9a1..9d3f29b 100644 (file)
 #include "zomg_md_tmss_reg.h"
 #include "zomg_eeprom.h"
 
+// C includes.
+#include <stdint.h>
+
 // C includes. (C++ namespace)
-#include <cstdint>
 #include <cstring>
 #include <cassert>
 #include <cstdlib>