Added some (disabled!) calling conventions stuff.
This commit is contained in:
parent
5629f8b8bc
commit
aa7126619e
12
src/physfs.h
12
src/physfs.h
|
@ -228,6 +228,18 @@ extern "C" {
|
||||||
#define PHYSFS_DECL
|
#define PHYSFS_DECL
|
||||||
#endif
|
#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
|
* \typedef PHYSFS_uint8
|
||||||
* \brief An unsigned, 8-bit integer type.
|
* \brief An unsigned, 8-bit integer type.
|
||||||
|
|
Loading…
Reference in New Issue