🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: wpi.ccc.windows
Article #1

Oddity in Intrinsic.h

#1
From: Brian Fennell
Date: Fri, 26 Apr 1991 02:50
27 lines
1266 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
Technical Details
Message-ID: <1991Apr26.025032.14831@wpi.WPI.EDU>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp!utzoo!utgpu!news-server.csri.toronto.edu!rpi!bu.edu!m2c!wpi.WPI.EDU!fenn

Show Full Headers
Complete Article Headers
Message-ID: <1991Apr26.025032.14831@wpi.WPI.EDU>
Subject: Oddity in Intrinsic.h
Date: Fri, 26 Apr 1991 02:50:32 +0000
From: fenn@wpi.WPI.EDU (Brian Fennell)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp!utzoo!utgpu!news-server.csri.toronto.edu!rpi!bu.edu!m2c!wpi.WPI.EDU!fenn
Newsgroups: wpi.ccc.windows,comp.windows.x
Organization: Worcester Polytechnic Institute
Lines: 26