Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request From: mp@allegra.UUCP (Mark Plotnick) Newsgroups: comp.sys.sun Subject: how to tell SunOS 3.2 from other systems in an #if? Keywords: Software Message-ID: <8903101644.AA12954@rice.edu> Date: 23 Mar 89 18:47:41 GMT Sender: usenet@rice.edu Organization: Sun-Spots Lines: 14 Approved: Sun-Spots@rice.edu Original-Date: Fri, 10 Mar 89 11:23:26 EST X-Sun-Spots-Digest: Volume 7, Issue 208, message 20 of 22 We need to do the following in some TeX source code to get around a bug in the 3.2 c compiler. Optimally, we're aiming to have ONE copy of the source code for all architectures and all OS versions. Does anyone know of a way to fill in the "#if this is 3.2" part? #if this is 3.2 #undef REGFIX #else #define REGFIX #endif Mark Plotnick allegra!mp mp@research.att.com