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 <stdlib.h>
#ifndef __CYGWIN32__
#if !defined( __CYGWIN__ ) && !defined( __CYGWIN32__ )
# include <malloc.h>
#endif

View File

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