diff options
author | J.T. Conklin <jtc@acorntoolworks.com> | 2001-03-02 02:54:10 +0000 |
---|---|---|
committer | J.T. Conklin <jtc@acorntoolworks.com> | 2001-03-02 02:54:10 +0000 |
commit | 3a644c8da1445cf297df9c552a098b6a81a22e42 (patch) | |
tree | ec904c2ff30d0d8ec8c0af3e168d1698447c7015 /gdb/config/i386/xm-cygwin.h | |
parent | d84829cc7934bd20594d9938adf34fd0636089e1 (diff) | |
download | ppe42-binutils-3a644c8da1445cf297df9c552a098b6a81a22e42.tar.gz ppe42-binutils-3a644c8da1445cf297df9c552a098b6a81a22e42.zip |
* defs.h (__CYGWIN__): Moved conditional which defines __CYGWIN__
if __CYGWIN32__ is set from here.
* config/i386/xm-cygwin.h: To here.
* config/powerpc/xm-cygwin.h: To here.
Diffstat (limited to 'gdb/config/i386/xm-cygwin.h')
-rw-r--r-- | gdb/config/i386/xm-cygwin.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/gdb/config/i386/xm-cygwin.h b/gdb/config/i386/xm-cygwin.h index 863992c22a..1e210c76da 100644 --- a/gdb/config/i386/xm-cygwin.h +++ b/gdb/config/i386/xm-cygwin.h @@ -1,5 +1,5 @@ /* Definitions for hosting on WIN32, for GDB. - Copyright 1995, 1996, 1997, 1998 Free Software Foundation, Inc. + Copyright 1995, 1996, 1997, 1998, 2001 Free Software Foundation, Inc. This file is part of GDB. @@ -33,3 +33,11 @@ #define CRLF_SOURCE_FILES #define HAVE_SIGSETMASK 0 + +/* 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 |