Author: cfinck
Date: Mon Apr 17 13:49:46 2017
New Revision: 74351
URL:
http://svn.reactos.org/svn/reactos?rev=74351&view=rev
Log:
[ISOHYBRID]
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
Modified:
trunk/reactos/sdk/tools/isohybrid/isohybrid.c
trunk/reactos/sdk/tools/isohybrid/reactos_support_code.h
Modified: trunk/reactos/sdk/tools/isohybrid/isohybrid.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/sdk/tools/isohybrid/isohyb…
==============================================================================
--- trunk/reactos/sdk/tools/isohybrid/isohybrid.c [iso-8859-1] (original)
+++ trunk/reactos/sdk/tools/isohybrid/isohybrid.c [iso-8859-1] Mon Apr 17 13:49:46 2017
@@ -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
Modified: trunk/reactos/sdk/tools/isohybrid/reactos_support_code.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/sdk/tools/isohybrid/reacto…
==============================================================================
--- trunk/reactos/sdk/tools/isohybrid/reactos_support_code.h [iso-8859-1] (original)
+++ trunk/reactos/sdk/tools/isohybrid/reactos_support_code.h [iso-8859-1] Mon Apr 17
13:49:46 2017
@@ -13,6 +13,12 @@
#include <alloca.h>
#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, ...);