forked from Imagelibrary/binutils-gdb
* sparcl-tdep.c: Use __CYGWIN__ instead of __CYGWIN32__.
* rdi-share/serpardr.c: Ditto. * rdi-share/unixcomm.c: Ditto. * rdi-share/serdrv.c: Ditto. * rdi-share/hostchan.h: Ditto. * rdi-share/hostchan.c: Ditto. * rdi-share/host.h: Ditto. * rdi-share/devsw.c: Ditto.
This commit is contained in:
@@ -29,14 +29,6 @@
|
||||
# define offsetof(T, member) ((char *)&(((T *)0)->member) - (char *)0)
|
||||
#endif
|
||||
|
||||
/* If under Cygwin, provide backwards compatibility with older
|
||||
Cygwin compilers that don't define the current cpp define. */
|
||||
#ifdef __CYGWIN32__
|
||||
#ifndef __CYGWIN__
|
||||
#define __CYGWIN__
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* A temporary sop to older compilers */
|
||||
#if defined (__NetBSD__) || defined (unix)
|
||||
# ifndef __unix /* (good for long-term portability?) */
|
||||
@@ -52,7 +44,7 @@
|
||||
#endif
|
||||
#if defined(_WIN32)
|
||||
# define COMPILING_ON_WIN32 1
|
||||
# if !defined(__CYGWIN32__)
|
||||
# if !defined(__CYGWIN__)
|
||||
# define COMPILING_ON_WINDOWS 1
|
||||
# endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user