From 819546192265e70832c75cecc29dce929a4feeec Mon Sep 17 00:00:00 2001 From: Thilo Schulz Date: Mon, 1 Aug 2011 01:19:55 +0000 Subject: Modular rendering system. Patch by use.less01 This might break MSVC builds. I'll take care of it later --- src/qcommon/q_platform.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/qcommon/q_platform.h') diff --git a/src/qcommon/q_platform.h b/src/qcommon/q_platform.h index f4335489..e29fb396 100644 --- a/src/qcommon/q_platform.h +++ b/src/qcommon/q_platform.h @@ -74,6 +74,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA // for windows fastcall option #define QDECL +#define QCALL //================================================================= WIN64/32 === @@ -85,6 +86,9 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #undef QDECL #define QDECL __cdecl +#undef QCALL +#define QCALL __stdcall + #if defined( _MSC_VER ) #define OS_STRING "win_msvc64" #elif defined __MINGW64__ @@ -109,6 +113,9 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #undef QDECL #define QDECL __cdecl +#undef QCALL +#define QCALL __stdcall + #if defined( _MSC_VER ) #define OS_STRING "win_msvc" #elif defined __MINGW32__ @@ -130,6 +137,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #endif + //============================================================== MAC OS X === #if defined(MACOS_X) || defined(__APPLE_CC__) -- cgit