From 868e770701347b7eb90ae3ebf19e18c9473ff6a1 Mon Sep 17 00:00:00 2001 From: Scott Ehlert Date: Tue, 24 Nov 2009 07:57:17 -0600 Subject: [PATCH] Fixed building of loader. --- loader/loader.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/loader/loader.h b/loader/loader.h index 16c5c67..7f7edef 100644 --- a/loader/loader.h +++ b/loader/loader.h @@ -26,6 +26,16 @@ #ifndef _INCLUDE_METAMOD_SOURCE_LOADER_H_ #define _INCLUDE_METAMOD_SOURCE_LOADER_H_ +// System +#define SH_SYS_WIN32 1 +#define SH_SYS_LINUX 2 +#define SH_SYS_APPLE 3 + +// Platform +#define SH_XP_POSIX 10 +#define SH_XP_WINAPI 20 + +// Compiler #define SH_COMP_GCC 1 #define SH_COMP_MSVC 2 @@ -34,6 +44,8 @@ #include #include #define PLATFORM_MAX_PATH MAX_PATH +#define SH_SYS SH_SYS_WIN32 +#define SH_XP SH_XP_WINAPI #define SH_COMP SH_COMP_MSVC #define PATH_SEP_STR "\\" #define PATH_SEP_CHAR '\\' @@ -45,6 +57,8 @@ #include typedef void * HMODULE; #define PLATFORM_MAX_PATH PATH_MAX +#define SH_SYS SH_SYS_LINUX +#define SH_XP SH_SYS_POSIX #define SH_COMP SH_COMP_GCC #define PATH_SEP_STR "/" #define PATH_SEP_CHAR '/'