Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Added some (disabled!) calling conventions stuff.
  • Loading branch information
icculus committed Jan 29, 2010
1 parent 5629f8b commit aa71266
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/physfs.h
Expand Up @@ -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.
Expand Down

0 comments on commit aa71266

Please sign in to comment.