Skip to content

Commit

Permalink
Need alloca.h on Solaris.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Apr 17, 2009
1 parent 42f167a commit 59a05f0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mojoshader_internal.h
Expand Up @@ -82,6 +82,10 @@ typedef uint32_t uint32;
typedef int32_t int32;
#endif

#ifdef sun
#include <alloca.h>
#endif

#ifdef __GNUC__
#define ISPRINTF(x,y) __attribute__((format (printf, x, y)))
#else
Expand Down

0 comments on commit 59a05f0

Please sign in to comment.