diff options
Diffstat (limited to 'util/cbfstool/lzma/C/Types.h')
-rw-r--r-- | util/cbfstool/lzma/C/Types.h | 36 |
1 files changed, 1 insertions, 35 deletions
diff --git a/util/cbfstool/lzma/C/Types.h b/util/cbfstool/lzma/C/Types.h index 0834844d87..e655f32013 100644 --- a/util/cbfstool/lzma/C/Types.h +++ b/util/cbfstool/lzma/C/Types.h @@ -8,9 +8,6 @@ #include <stdint.h> #include <stdbool.h> -#ifdef _WIN32 -#include <windows.h> -#endif #define SZ_OK 0 @@ -31,43 +28,12 @@ #define SZ_ERROR_NO_ARCHIVE 17 typedef int SRes; - -#ifdef _WIN32 -typedef DWORD WRes; -#else -typedef int WRes; -#endif +typedef int WRes; /* This was DWORD for _WIN32. That's uint32_t */ #ifndef RINOK #define RINOK(x) { int __result__ = (x); if (__result__ != 0) return __result__; } #endif - -#ifdef _WIN32 -#define MY_STD_CALL __stdcall -#else -#define MY_STD_CALL -#endif - -#ifdef _MSC_VER - -#if _MSC_VER >= 1300 -#define MY_NO_INLINE __declspec(noinline) -#else -#define MY_NO_INLINE -#endif - -#define MY_CDECL __cdecl -#define MY_FAST_CALL __fastcall - -#else - -#define MY_CDECL -#define MY_FAST_CALL - -#endif - - /* The following interfaces use first parameter as pointer to structure */ typedef struct |