Randall Hand wrote:
(long time user, first time poster... Hope I don't get anyone too
ruffled up :) )
I'm working on an older CompaqSC45 here and having some issues compiling
Mesa3d on it. After some digging, I found that the "int64_t" wasn't
being defined in include/GL/glxext.h. I modified it like so and it
compiles now:
(starting ~line 334)
#if defined(__sun__) || defined(__osf__)
#include <inttypes.h>
#if defined(__STDC__)
#if defined(__arch64__)
typedef long int int64_t;
#else
typedef long long int int64_t;
#endif /* __arch64__ */
#endif /* __STDC__ */
#elif defined(__UNIXOS2__) || defined(__SOL64__)
typedef long int int32_t;
typedef long long int int64_t;
#elif defined( __VMS )
#include <inttypes.h>
#elif defined(__SCO__) || defined(__USLC__)
#include <stdint.h>
#elif defined(WIN32) && defined(__GNUC__)
#include <stdint.h>
#endif /* big __sun__ & other OS loop */
I just added the "|| defined(__osf__)" to the first check and it seems
to compile just fine now.
Thanks. I'll check that in and propogate the fix back to SGI.
-Brian
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev