diff options
| author | Shauren <shauren.trinity@gmail.com> | 2014-10-19 14:40:13 +0200 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2014-10-19 14:40:13 +0200 |
| commit | 035bda05adc12245e5c59d554c30092efdb64460 (patch) | |
| tree | 6286dda4f615e9b74bfd59a49c5bd255e91325b8 /src/tools/map_extractor | |
| parent | e2c2bce90f1713136c2a256e423e5d136dab2389 (diff) | |
Tools/Extractors: Build fixes for linux
Diffstat (limited to 'src/tools/map_extractor')
| -rw-r--r-- | src/tools/map_extractor/loadlib/loadlib.h | 20 |
1 files changed, 4 insertions, 16 deletions
diff --git a/src/tools/map_extractor/loadlib/loadlib.h b/src/tools/map_extractor/loadlib/loadlib.h index 10d14aed114..3110ad569ea 100644 --- a/src/tools/map_extractor/loadlib/loadlib.h +++ b/src/tools/map_extractor/loadlib/loadlib.h @@ -21,24 +21,9 @@ #include "CascLib.h" #include <map> +#include <cstdint> #include <string> -#ifdef _WIN32 -typedef __int64 int64; -typedef __int32 int32; -typedef __int16 int16; -typedef __int8 int8; -typedef unsigned __int64 uint64; -typedef unsigned __int32 uint32; -typedef unsigned __int16 uint16; -typedef unsigned __int8 uint8; -#else -#include <stdint.h> -#ifndef uint64_t -#ifdef __linux__ -#include <linux/types.h> -#endif -#endif typedef int64_t int64; typedef int32_t int32; typedef int16_t int16; @@ -47,6 +32,9 @@ typedef uint64_t uint64; typedef uint32_t uint32; typedef uint16_t uint16; typedef uint8_t uint8; + +#ifndef _WIN32 +int GetLastError(); #endif #define FILE_FORMAT_VERSION 18 |
