[SDL] Issue with SDL on Ubuntu using Sun Studio 12

Sam Crow samuraileumas at yahoo.com
Wed Jun 13 18:26:20 PDT 2007


Eugene Marcotte <emarcotte <at> gmail.com> writes:
> I get an error:
> 
> "/usr/include/SDL/begin_code.h", line 126: Error: #define and #undef are
> not legal for predefined macros.
> 
> which is this line:
> 
> #define __inline__ inline
> 

Try replacing that with the following:
#ifndef __inline__
#define __inline__ inline
#endif



More information about the SDL mailing list