🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: wpi.ccc.windows
1 messages
1 total messages Started by Brian Fennell Fri, 26 Apr 1991 02:50
Oddity in Intrinsic.h
#1
Author: Brian Fennell
Date: Fri, 26 Apr 1991 02:50
26 lines
1060 bytes
	So I am reading Intrisic.h and I discover this gem...
	(What's wrong with this picture)

>#ifdef XTFUNCPROTO
>#undef NeedFunctionPrototypes
>#define NeedFunctionPrototypes 1
>#else
>#undef NeedFunctionPrototypes
>#define NeedFunctionPrototypes 0
>#undef NeedWidePrototypes
>#define NeedWidePrototypes 0
>#endif
>
	 now this is the real clever bit
>#ifndef NeedFunctionPrototypes
>#if defined(FUNCPROTO) || defined(__STDC__) || defined(__cplusplus) || defined(c_plusplus)
>#define NeedFunctionPrototypes 1
>#else
>#define NeedFunctionPrototypes 0
>#endif /* __STDC__ */
>#endif /* NeedFunctionPrototypes */

	Who should I tell about this... is it just our copy?

Brian Fennell == fenn@wpi.wpi.edu
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads