OSDN Git Service

code clean.
[putex/putex.git] / src / texsourc / yandytex.h
index 93271a4..886122e 100644 (file)
 #include <setjmp.h>
 #include <time.h>
 #include <signal.h>
-#ifdef MSDOS
-  #include <direct.h> /* for _getcwd() */
-  #include <conio.h>  /* for _getch() */
-  #define getch _getch
+#ifdef _WIN32
+  #include <kpathsea/win32lib.h>
 #else
   #include <unistd.h>
 #endif
@@ -107,11 +105,10 @@ typedef enum
 #define a_open_out(f)   open_output (&(f), FOPEN_W_MODE)
 #define a_close(f)     check_fclose (f)
 
-#define MAXLINE 256         // for log_line buffer
+#define MAXLINE 256 // for log_line buffer
 
 extern bool trace_flag;
 extern bool open_trace_flag;
-
 extern integer zround (double);
 extern bool eoln (FILE * file);
 extern bool open_input (FILE **f, path_constant_type path_index, char *fopen_mode);