Skip to content

Commit

Permalink
Fixes for compiling on Solaris.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Apr 13, 2009
1 parent 8d79648 commit 3f0cffc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/physfs_internal.h
Expand Up @@ -29,6 +29,12 @@
#include <malloc.h>
#endif

/* !!! FIXME: if HAVE_ALLOCA_H would be good, too. */
#if sun
#include <alloca.h>
#define __inline__ inline
#endif

#ifdef __cplusplus
extern "C" {
#endif
Expand Down

0 comments on commit 3f0cffc

Please sign in to comment.