Displaying 1 result from an estimated 1 matches for "incl_do".
Did you mean:
includo
2000 Dec 15
2
Ports
...orm.h"
#include "encode.h"
#include <stdlib.h>
-#if defined(_WIN32) || defined(__EMX__)
+#if defined(_WIN32) || defined(__EMX__) || defined(__WATCOMC__)
#include <fcntl.h>
#include <io.h>
#include <time.h>
#endif
-#ifdef _WIN32
+#ifdef __OS2__
+#define INCL_DOS
+#define INCL_NOPMAPI
+#include <os2.h>
+#endif
+
+#if defined(_WIN32) || defined(__WATCOMC__)
/* This doesn't seem to exist on windows */
char *rindex(char *s, int c)
{
@@ -35,7 +41,9 @@
}
return ret;
}
+#endif
+#ifdef _WIN32
void setbinmode(FILE *f)
{...