brinkman@jupiter.informatik.uni-dortmund.de (Michael Brinkman Dipl. Mor.) (05/21/91)
Hi! In my .Xdefaults file, I want to make use of the "VENDOR" preprocessor symbol: something like this: #if VENDOR == 'MIT X Consortium' #elif VENDOR == 'Network Computing Devices Inc.' and so on. But the normal cpp (on Sun) seems to be too stupid to get along with the spaces in those strings. Can someone help me ? -- $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ Michael Brinkmann, Unido, LS Informatik I, Otto-Hahn-Str. 16, R. 208, ++49 0231 755 6512 brinkman@jupiter.informatik.uni-dortmund.de $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
jar@ifi.uio.no (Jo Are Rosland) (05/21/91)
In article <3264@laura.UUCP> brinkman@jupiter.informatik.uni-dortmund.de (Michael Brinkman Dipl. Mor.) writes:
In my .Xdefaults file, I want to make use of the "VENDOR" preprocessor symbol:
something like this:
#if VENDOR == 'MIT X Consortium'
#elif VENDOR == 'Network Computing Devices Inc.'
#if is used for numerical comparison only. I don't think you can use
the VENDOR symbol--or any other symbol with a text value--for anything
other than substitution and #ifdef/defined() tests.
--
Jo Are Rosland
jar@ifi.uio.no