Why has Digital $ in their headerfiles in ultrix?

Schilperoort J.W. JW_Schilperoort at pttrnl.nl
Wed Jan 23 21:19:28 AEST 1991


jh at efd.lth.se (Joergen Haegg) writes:

>Ultrix 4.0.1, vaxstation 2000:
>
>In /usr/include/math.h I found this line:
>#if     defined(GFLOAT) || CC$gfloat
>                           ^^^^^^^^^
>And this is not the only one. Why can't Digital leave $ in VMS
>where it belongs?

Beats me. While we are on the subject, check out sys/file.h:
	#ifdef KERNEL && !defined(_POSIX_SOURCE)
According to me and to gcc this is garbage.

>Is there a fix for gcc, or is there another way to fix this?

Remove "|| CC$gfloat" from the include files. Alternatively,
copy the files to /usr/local/lib/gcc-include (or whatever) 
and fix it there.

-- 
Sjaak Schilperoort          			JW_Schilperoort at pttrnl.nl
PTT Research Neher Laboratorium			...!hp4nl!dnlunx!sjaak
Leidschendam, Netherlands			schilperoort at hlsdnl5.bitnet



More information about the Comp.unix.ultrix mailing list