Skip to content
Permalink
Browse files
Fixes for compiling on Solaris.
  • Loading branch information
icculus committed Apr 13, 2009
1 parent 8d79648 commit 3f0cffcc50721b5719445bde2680f4b8189c4cb1
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/physfs_internal.h
@@ -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

0 comments on commit 3f0cffc

Please sign in to comment.