From aa7126619e70e1a0a2435a03f9fb1c2b3530d5a0 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Fri, 29 Jan 2010 03:18:03 -0500 Subject: [PATCH] Added some (disabled!) calling conventions stuff. --- src/physfs.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/physfs.h b/src/physfs.h index 7c58e45a..4dea6ffe 100644 --- a/src/physfs.h +++ b/src/physfs.h @@ -228,6 +228,18 @@ extern "C" { #define PHYSFS_DECL #endif +#if 0 /* !!! FIXME: look into this later. */ +#if defined(PHYSFS_CALL) +/* do nothing. */ +#elif defined(__WIN32__) && !defined(__GNUC__) +#define PHYSFS_CALL __cdecl +#elif defined(__OS2__) /* use _System, so it works across all compilers. */ +#define PHYSFS_CALL _System +#else +#define PHYSFS_CALL +#endif +#endif + /** * \typedef PHYSFS_uint8 * \brief An unsigned, 8-bit integer type.