diff -r d40365b50d43 -r 8e1b76a659b0 sourcemm/sample_mm/oslink.h --- a/sourcemm/sample_mm/oslink.h Wed Jul 19 06:57:03 2006 +0000 +++ b/sourcemm/sample_mm/oslink.h Wed Jul 19 07:06:28 2006 +0000 @@ -31,10 +31,6 @@ #define dlsym(x, s) GetProcAddress(x, s) #define dlclose(x) FreeLibrary(x) const char* dlerror(); - #define PATH_SEP_STR "\\" - #define PATH_SEP_CHAR '\\' - #define ALT_SEP_CHAR '/' - #define SERVER_DLL "server.dll" #elif defined __linux__ #define OS_LINUX #include @@ -43,11 +39,6 @@ #include #define dlmount(x) dlopen(x,RTLD_NOW) typedef void* HINSTANCE; - #define PATH_SEP_STR "/" - #define PATH_SEP_CHAR '/' - #define ALT_SEP_CHAR '\\' - #define stricmp strcasecmp - #define SERVER_DLL "server_i486.so" #endif #if defined __linux__ @@ -55,8 +46,6 @@ int GetLastError(); #endif -bool GetFileOfAddress(void *pAddr, char *buffer, size_t maxlength); - #if defined __WIN32__ || defined _WIN32 || defined WIN32 #define SMM_API extern "C" __declspec(dllexport) #elif defined __GNUC__ @@ -67,12 +56,11 @@ typedef __int64 int64_t; typedef unsigned __int64 uint64_t; #elif defined __GNUC__ -#include -#if !__GLIBC_HAVE_LONG_LONG +# if !__GLIBC_HAVE_LONG_LONG typedef long long int64_t; +# endif typedef unsigned long long uint64_t; #endif -#endif #ifndef __linux__ #define snprintf _snprintf