Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!mintaka!bloom-beacon!eru!hagbard!sunic!ugle.unit.no!nuug!ifi!jar From: jar@ifi.uio.no (Jo Are Rosland) Newsgroups: comp.windows.x Subject: Re: VENDOR symbol Message-ID: Date: 21 May 91 15:11:56 GMT References: <3264@laura.UUCP> Sender: jar@ifi.uio.no (Jo Are Rosland) Organization: University of Oslo, Norway Lines: 15 In-Reply-To: brinkman@jupiter.informatik.uni-dortmund.de's message of 21 May 91 10: 18:10 GMT 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