Re: [Plib-devel] plib-1.8.5: compiling on OSX 10.5.5
Brought to you by:
sjbaker
From: John F. F. <joh...@cy...> - 2008-11-23 21:51:11
|
Andy, Thank you for your patch. I looked at the offending place in the file (it has now been moved down to line 145) and find that it has already been modified in the latest SVN version: #if defined(UL_WIN32) || defined(UL_MAC_OSX) - John -----Original Message----- From: Andy Christianson Sent: Sunday, November 23, 2008 1:46 PM To: pli...@li... Subject: [Plib-devel] plib-1.8.5: compiling on OSX 10.5.5 I was not able to compile plib-1.8.5 on OSX due to the fact that uint is not defined by default on this OS. The following patch allows plib-1.8.5 to compile: diff -ur ./src/ssg/ssgLoadFLT.cxx ../plib-1.8.5-apple/src/ssg/ssgLoadFLT.cxx --- ./src/ssg/ssgLoadFLT.cxx 2008-03-10 22:06:23.000000000 -0400 +++ ../plib-1.8.5-apple/src/ssg/ssgLoadFLT.cxx 2008-11-23 14:32:25.000000000 -0500 @@ -142,7 +142,7 @@ typedef unsigned char ubyte; -#ifdef UL_WIN32 +#if defined(UL_WIN32) || defined(__APPLE__) typedef unsigned short ushort; typedef unsigned int uint; #endif ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ plib-devel mailing list pli...@li... https://lists.sourceforge.net/lists/listinfo/plib-devel |