Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!usc!apple!motcsd!hpda!hpcuhb!hp-ses!bd From: bd@hp-ses.SDE.HP.COM (Bob Desinger) Newsgroups: comp.sys.hp Subject: Re: FINGER HP800's (?) Message-ID: <920041@hp-ses.SDE.HP.COM> Date: 4 Dec 89 08:44:16 GMT References: <47500018@uxe.cso.uiuc.edu> Organization: HP Software Engineering Systems, Palo Alto Lines: 13 > "hpux" was not defined in fingerd.c or any any of the include files > (as far as I could tell). It's not in any header file, but it is defined in /lib/cpp, the C preprocessor. So you get it "for free." Another similar symbol defined this way is hp9000s800. On a Series 300 you get hp9000s300 defined. This way you can get the right version: code for any HP-UX (both 800 and 300), just for the 800, or just for the 300. Other vendors tend to define symbols for their machines too. Sun uses "sun" and the VAX uses "vax". -- bd