1
0
Fork 0

Check for __CYGWIN__ (b20) as well as __CYGWIN32__ (pre b20 compilers)

Other misc. tweaks.
This commit is contained in:
curt 1998-11-02 18:25:32 +00:00
parent 5695fc84e1
commit 6ca9596807
2 changed files with 2 additions and 3 deletions

View file

@ -6,7 +6,7 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#ifndef __CYGWIN32__ #if !defined( __CYGWIN__ ) && !defined( __CYGWIN32__ )
# include <malloc.h> # include <malloc.h>
#endif #endif

View file

@ -19,10 +19,9 @@
#include <sys/ioctl.h> #include <sys/ioctl.h>
#else #else
#include <windows.h> #include <windows.h>
#ifdef __CYGWIN32__ #if defined( __CYGWIN__ ) || defined( __CYGWIN32__ )
# define NEAR /* */ # define NEAR /* */
# define FAR /* */ # define FAR /* */
# define WHERE_EVER_YOU_ARE /* Curt: optional, but it reminds me of a song */
#endif #endif
#include <mmsystem.h> #include <mmsystem.h>
#endif #endif