aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/elf.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/include/elf.h b/include/elf.h
index a9839df3f2b..f6403881bff 100644
--- a/include/elf.h
+++ b/include/elf.h
@@ -39,13 +39,8 @@
defined(__sun__) || \
defined(__APPLE__)
#include <inttypes.h>
-#elif defined(__linux__) && defined(USE_HOSTCC)
+#elif (defined(__linux__) && defined(USE_HOSTCC)) || defined(__WIN32__)
#include <stdint.h>
-#elif defined(__WIN32__)
-#include <unistd.h>
-typedef unsigned char uint8_t;
-typedef unsigned short uint16_t;
-typedef unsigned int uint32_t;
#endif
/*