Xref: utzoo comp.lang.c:24380 comp.os.vms:20607 Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!lll-winken!brutus.cs.uiuc.edu!uakari.primate.wisc.edu!larry!cupcake!jwp From: jwp@larry.sal.wisc.edu (Jeffrey W Percival) Newsgroups: comp.lang.c,comp.os.vms Subject: Unix/VMS math.h differences Keywords: unix vms c Compiler Message-ID: <121@cupcake.sal.wisc.edu> Date: 7 Dec 89 20:54:38 GMT Followup-To: comp.lang.c Organization: Space Astronomy Lab, Madison WI Lines: 9 I'm making my first attempt to create a C program that is equally compilable on Unix and VMS. I have a question for those more experienced than I am. On the Unix side, math.h declares atof. On the VMS side, it is declared in stdlib.h, along with some other finagling. I have no stdlib.h on my Ultrix system. How should I manage this? Do I really need a bizillion #ifdef VMS switches every time I include math.h, or is there some better method? -- -Jeffrey W Percival (jwp@larry.sal.wisc.edu) (608)262-8686