[comp.os.vms] Unix/VMS math.h differences

jwp@larry.sal.wisc.edu (Jeffrey W Percival) (12/08/89)

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