author | Ryan C. Gordon <icculus@icculus.org> |
Mon, 13 Apr 2009 03:27:53 -0400 | |
changeset 984 | 91ddcf902de2 |
parent 983 | 7e149d8c98df |
child 985 | dc38a51538aa |
--- a/src/physfs_internal.h Sun Mar 29 04:38:53 2009 -0400 +++ b/src/physfs_internal.h Mon Apr 13 03:27:53 2009 -0400 @@ -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