From: William Lamar <wjl@ko...> - 2003-01-25 22:43:12
It is sometimes useful to have a preprocessor definition for C/C++ code
to test whether it is being compiled on a Syllable system. I was not
able to find any such preprocessor definition in the gcc included with
Syllable. I did find __ATHEOS__, but nothing specific to Syllable. Does
If not, I think it should be added. Below is a patch for the file
/usr/gcc295/lib/gcc-lib/i386-any-atheos/2.95.2/specs, which will cause
__SYLLABLE__ to be predefined.
< -D__ELF__ -Dunix -D__ATHEOS__ -DALTOS -D__ALTOS__ -D_REENTRANT
> -D__SYLLABLE__ -D__ELF__ -Dunix -D__ATHEOS__ -DALTOS -D__ALTOS__
Could this be added to the next release of Syllable? Or are there any
problems I overlooked?