git @ Cat's Eye Technologies Befunge-93 / 68b3f97
__BORLANDC__ or __DGJPP__ => MSDOS. Chris Pressey 7 years ago
1 changed file(s) with 10 addition(s) and 7 deletion(s). Raw diff Collapse all Expand all
148148 #include <stdlib.h>
149149 #include <ctype.h>
150150 #include <time.h>
151 #ifdef __DJGPP__
151 #if defined(__BORLANDC__) || defined(__DJGPP__)
152 # define MSDOS 1
153 #endif
154 #ifdef MSDOS
152155 # include <dos.h>
153156 # include <conio.h>
154157 # define CONSOLE 1
155 #endif /* __DJGPP__ */
158 #endif /* MSDOS */
156159 #ifdef __BORLANDC__
157 # include <dos.h>
158 # include <conio.h>
159 # define CONSOLE 1
160160 # define CURSORSHAPE 1
161161 #endif /* __BORLANDC__ */
162162 #ifdef __GNUC__
163163 # include <unistd.h>
164 #endif
164 #endif /* __GNUC__ */
165 #ifdef _POSIX_C_SOURCE
166 # include <sys/time.h>
167 #endif /* _POSIX_C_SOURCE */
165168 #ifdef __MWERKS__
166169 # include <console.h>
167170 # define CONSOLE 1
861864 void befsleep (dur)
862865 int dur;
863866 {
864 #if __BORLANDC__
867 #if MSDOS
865868 delay (deldur);
866869 #else
867870 #ifdef _POSIX_C_SOURCE