Added some (disabled!) calling conventions stuff.
authorRyan C. Gordon <icculus@icculus.org>
Fri, 29 Jan 2010 03:18:03 -0500
changeset 1025 b91967e1dc40
parent 1024 199e38498938
child 1026 1648054f2986
Added some (disabled!) calling conventions stuff.
src/physfs.h
--- a/src/physfs.h	Fri Jan 29 03:09:16 2010 -0500
+++ b/src/physfs.h	Fri Jan 29 03:18:03 2010 -0500
@@ -228,6 +228,18 @@
 #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.