Unix/VMS math.h differences
Jeffrey W Percival
jwp at larry.sal.wisc.edu
Fri Dec 8 07:54:38 AEST 1989
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 at larry.sal.wisc.edu) (608)262-8686
More information about the Comp.lang.c
mailing list