"print" is GNU bc specific.
[oweals/openssl.git] / crypto / rc4 / rc4speed.c
index 5f77fbc24135ae64bfb7bb70fe3fe6734f7df2b1..b448f4a5c6742f5ac748a2095db451b05856341e 100644 (file)
 #endif
 
 #include <stdio.h>
-#ifndef MSDOS
-#include <unistd.h>
-#else
-#include <io.h>
-extern int exit();
-#endif
+
+#include <openssl/e_os2.h>
+#include OPENSSL_UNISTD_IO
+OPENSSL_DECLARE_EXIT
+
 #include <signal.h>
 #ifndef _IRIX
 #include <time.h>
@@ -102,11 +101,7 @@ extern int exit();
 /* The following if from times(3) man page.  It may need to be changed */
 #ifndef HZ
 #ifndef CLK_TCK
-#ifndef VMS
-#define HZ     100.0
-#else /* VMS */
 #define HZ     100.0
-#endif
 #else /* CLK_TCK */
 #define HZ ((double)CLK_TCK)
 #endif
@@ -188,7 +183,7 @@ int main(int argc, char **argv)
 #endif
 
 #ifndef TIMES
-       printf("To get the most acurate results, try to run this\n");
+       printf("To get the most accurate results, try to run this\n");
        printf("program when this computer is idle.\n");
 #endif