[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

svn path=/trunk/; revision=74351
This commit is contained in:
Colin Finck 2017-04-17 13:49:46 +00:00
parent daf94f98b0
commit 8c0a8b2873
2 changed files with 7 additions and 1 deletions

View 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

View file

@ -14,6 +14,12 @@
#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, ...);