🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun
Article #11689

how to tell SunOS 3.2 from other systems in an #if?

#11689
From: Mark Plotnick
Date: Thu, 23 Mar 1989 18:47
14 lines
909 bytes
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
Technical Details
Message-ID: <8903101644.AA12954@rice.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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