#include <getopt.h>
#endif
-#ifndef WINDOWS
+#ifndef WIN32
# include <unistd.h>
# include <netinet/in.h>
# define BITBUCKET "/dev/null"
# include <sys/wait.h>
#else
# define WINDOWS_FUNCTIONS /* ask to define functions - in one file only */
-# include "windows.h"
+# include "win_missing.h"
# define BITBUCKET "NUL"
#endif
if (argv[2][0] == '-' && argv[2][1] == 0) {
pfa_file = stdout;
-#ifdef WINDOWS
+#ifdef WIN32
if(encode) {
fprintf(stderr, "**** can't write encoded file to stdout ***\n");
exit(1);
afm_file=n;
}
} else {
-#ifndef WINDOWS
+#ifndef WIN32
sprintf(filename, "%s.%s", argv[2], encode ? (pfbflag ? "pfb" : "pfa") : "t1a" );
#else /* WINDOWS */
sprintf(filename, "%s.t1a", argv[2]);
/*
* Now check whether we want a fully encoded .pfa file
*/
-#ifndef WINDOWS
+#ifndef WIN32
if (encode) {
int p[2];
extern FILE *ifp, *ofp; /* from t1asm.c */
cursw->close();
-#ifndef WINDOWS
+#ifndef WIN32
while (wait(&ws) > 0) {
}
#else