Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!ucsd!usc!gem.mps.ohio-state.edu!ginosko!uunet!mcsun!sunic!tut!santra!hemuli.atk.vtt.fi!jfr From: jfr@tel3.tel3.tel.vtt.fi (Jim Reilly) Newsgroups: comp.lang.c Subject: #endif ??? Message-ID: Date: 4 Oct 89 18:31:01 GMT Sender: news@hemuli.atk.vtt.fi Distribution: comp Organization: Technical Research Centre of Finland Lines: 30 I have a question on types.h for our Sun 386i, it has the following definition for sparc. The `#endif sparc` never caused any complaints on the sun's normal C compiler, but our 'Designer C++' compiler doesn't like it. Is this just something funny with the c compilers on the SUN ? At least I didn't find it in any C or ANSI C manuals around here. /* @(#)types.h 2.22 88/01/13 SMI; from UCB 7.1 6/4/86 */ .... other stuff deleted .... #ifdef sparc .... other stuff deleted .... #endif sparc I just use a local types.h with the superfluous sparc commented out, but enquiring minds want to know... -- Internet Mailbox: reilly@tel.vtt.fi UUCP Mailbox: ...!arpa!router.funet.fi!vtttel!reilly ...!mcvax!kth!draken!tut!router!vtttel!reilly