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

Mark Plotnick mp at allegra.UUCP
Fri Mar 24 04:47:41 AEST 1989


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 at research.att.com



More information about the Comp.sys.sun mailing list