Article View: wpi.ccc.windows
Article #1Oddity in Intrinsic.h
From: Brian Fennell
Date: Fri, 26 Apr 1991 02:50
Date: Fri, 26 Apr 1991 02:50
26 lines
1060 bytes
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
Technical Details
Message-ID:
<1991Apr26.025032.14831@wpi.WPI.EDU>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!bu.edu!m2c!wpi.WPI.EDU!fennShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!bu.edu!m2c!wpi.WPI.EDU!fenn From: fenn@wpi.WPI.EDU (Brian Fennell) Newsgroups: wpi.ccc.windows,comp.windows.x Subject: Oddity in Intrinsic.h Message-ID: <1991Apr26.025032.14831@wpi.WPI.EDU> Date: 26 Apr 91 02:50:32 GMT Organization: Worcester Polytechnic Institute Lines: 26