Check for __CYGWIN__ (b20) as well as __CYGWIN32__ (pre b20 compilers)
Other misc. tweaks.
This commit is contained in:
parent
5695fc84e1
commit
6ca9596807
@ -6,7 +6,7 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#ifndef __CYGWIN32__
|
||||
#if !defined( __CYGWIN__ ) && !defined( __CYGWIN32__ )
|
||||
# include <malloc.h>
|
||||
#endif
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user