comparison src/m/vax.h @ 209:41ff10fd062f r20-4b3

Import from CVS: tag r20-4b3
author cvs
date Mon, 13 Aug 2007 10:04:58 +0200
parents 0132846995bd
children
comparison
equal deleted inserted replaced
208:f427b8ec4379 209:41ff10fd062f
74 74
75 #define LOAD_AVE_CVT(x) ((int) ((x) * 100.0)) 75 #define LOAD_AVE_CVT(x) ((int) ((x) * 100.0))
76 76
77 #endif /* BSD */ 77 #endif /* BSD */
78 78
79 #ifdef VMS
80
81 /* Data type of load average, as read out of driver. */
82
83 #define LOAD_AVE_TYPE float
84
85 /* Convert that into an integer that is 100 for a load average of 1.0 */
86
87 #define LOAD_AVE_CVT(x) ((int) ((x) * 100.0))
88
89 #endif /* VMS */
90 79
91 /* Vax sysV has alloca in the PW library. */ 80 /* Vax sysV has alloca in the PW library. */
92 81
93 #ifdef USG 82 #ifdef USG
94 #define LIB_STANDARD "-lPW -lc" 83 #define LIB_STANDARD "-lPW -lc"
105 94
106 #ifdef BSD 95 #ifdef BSD
107 #define HAVE_ALLOCA 96 #define HAVE_ALLOCA
108 #endif /* BSD */ 97 #endif /* BSD */
109 98
110 #ifdef VMS
111 #define C_ALLOCA
112 #endif
113
114 #ifdef BSD4_2 99 #ifdef BSD4_2
115 #define HAVE_FTIME 100 #define HAVE_FTIME
116 #endif 101 #endif