From: <ag...@us...> - 2008-10-30 20:56:31
|
Revision: 179 http://zoolib.svn.sourceforge.net/zoolib/?rev=179&view=rev Author: agreen Date: 2008-10-30 20:56:27 +0000 (Thu, 30 Oct 2008) Log Message: ----------- Fix broken processor identification stuff. Modified Paths: -------------- trunk/zoolib/source/cxx/zoolib/zconfigl.h Modified: trunk/zoolib/source/cxx/zoolib/zconfigl.h =================================================================== --- trunk/zoolib/source/cxx/zoolib/zconfigl.h 2008-10-30 17:34:43 UTC (rev 178) +++ trunk/zoolib/source/cxx/zoolib/zconfigl.h 2008-10-30 20:56:27 UTC (rev 179) @@ -70,14 +70,10 @@ # define ZCONFIG_Processor ZCONFIG_Processor_x86 # endif # elif defined(__GNUC__) -# if #cpu(i386) +# if defined(__i386__) # define ZCONFIG_Processor ZCONFIG_Processor_x86 -# elif #cpu(sparc) -# define ZCONFIG_Processor ZCONFIG_Processor_Sparc -# elif #cpu(powerpc) +# elif defined(__ppc__) # define ZCONFIG_Processor ZCONFIG_Processor_PPC -# elif #cpu(alpha) -# define ZCONFIG_Processor ZCONFIG_Processor_Alpha # elif defined(__arm__) # define ZCONFIG_Processor ZCONFIG_Processor_ARM # endif This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |