diff options
author | Geoffrey Noer <noer@cygnus> | 1998-11-19 23:22:51 +0000 |
---|---|---|
committer | Geoffrey Noer <noer@cygnus> | 1998-11-19 23:22:51 +0000 |
commit | 2196638d08bdb82200ebee2b9a2f68ff91a06f48 (patch) | |
tree | 5828368d2ebb58d8d0f4559add801e944116d035 /gdb/rdi-share/host.h | |
parent | d2e2384b83e9027b9bedffbd58e8ef28c36147c6 (diff) | |
download | gdb-2196638d08bdb82200ebee2b9a2f68ff91a06f48.zip gdb-2196638d08bdb82200ebee2b9a2f68ff91a06f48.tar.gz gdb-2196638d08bdb82200ebee2b9a2f68ff91a06f48.tar.bz2 |
Thu Nov 19 15:21:04 1998 Geoffrey Noer <noer@cygnus.com>
* rdi-share/host.h: if compiling under Cygwin, make sure new
preprocessor define is defined. Define it if not.
* rdi-share/aclocal.m4: regenerate
* rdi-share/configure: regenerate
Diffstat (limited to 'gdb/rdi-share/host.h')
-rw-r--r-- | gdb/rdi-share/host.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/rdi-share/host.h b/gdb/rdi-share/host.h index ba09d82..e30d965 100644 --- a/gdb/rdi-share/host.h +++ b/gdb/rdi-share/host.h @@ -219,4 +219,12 @@ extern double strtod(const char *str, char **ptr); #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 + /* end of host.h */ |