DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR Pending] Link: http://www.fltk.org/str.php?L2582 Version: 1.3.0 There's another instance of architecture-dependence in config.h, WORDS_BIGENDIAN. In practice, it's not relevant for the Mac OS platform because this preprocessor variable is not used for Mac OS if U64 is not defined (which is true if we apply the change described above). But it's dangerous to have a potentially wrongly-defined WORDS_BIGENDIAN in config.h when making universal FLTK builds. I have found that putting this in configh.in works: /* * WORDS_BIGENDIAN: * * Byte order of your machine: 1 = big-endian, 0 = little-endian. */ #ifdef __APPLE__ #ifdef __BIG_ENDIAN__ #define WORDS_BIGENDIAN 1 #else #define WORDS_BIGENDIAN 0 #endif #else #define WORDS_BIGENDIAN 0 #endif There may be a better solution though (possibly using AC_APPLE_UNIVERSAL_BUILD that configure defines for universal builds ?). Link: http://www.fltk.org/str.php?L2582 Version: 1.3.0 _______________________________________________ fltk-bugs mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-bugs
