[ISOHYBRID]
authorColin Finck <colin@reactos.org>
Mon, 17 Apr 2017 13:49:46 +0000 (13:49 +0000)
committerColin Finck <colin@reactos.org>
Mon, 17 Apr 2017 13:49:46 +0000 (13:49 +0000)
Don't include inttypes.h, which isn't available on MSVC < 2013. Add the 4 needed typedefs to reactos_support_code.h instead.
Fixes CORE-13031

svn path=/trunk/; revision=74351

reactos/sdk/tools/isohybrid/isohybrid.c
reactos/sdk/tools/isohybrid/reactos_support_code.h

index 12e4a2c..dd78c79 100644 (file)
@@ -36,7 +36,7 @@
 #include <string.h>
 //#include <unistd.h>
 #include <sys/stat.h>
-#include <inttypes.h>
+//#include <inttypes.h>
 #ifdef REACTOS_ISOHYBRID_EFI_MAC_SUPPORT
 #include <uuid/uuid.h>
 #endif
index 8c7cfd0..3f3344c 100644 (file)
 #include <unistd.h>
 #endif
 
+// isotypes.h would provide these, but it's not available on MSVC < 2013.
+typedef unsigned char uint8_t;
+typedef unsigned short uint16_t;
+typedef unsigned int uint32_t;
+typedef unsigned long long uint64_t;
+
 void isohybrid_error(int eval, const char* fmt, ...);
 void isohybrid_warning(const char* fmt, ...);