Thu Nov 19 14:43:44 1998 Geoffrey Noer <noer@cygnus.com>
authorGeoffrey Noer <noer@cygnus>
Thu, 19 Nov 1998 22:44:42 +0000 (22:44 +0000)
committerGeoffrey Noer <noer@cygnus>
Thu, 19 Nov 1998 22:44:42 +0000 (22:44 +0000)
        * configure.in: switch back to checking __CYGWIN32__
        * configure: regenerate

gdb/ChangeLog
gdb/configure
gdb/configure.in

index a09a843..b770b3e 100644 (file)
@@ -1,3 +1,8 @@
+Thu Nov 19 14:43:44 1998  Geoffrey Noer  <noer@cygnus.com>
+
+       * configure.in: switch back to checking __CYGWIN32__
+       * configure: regenerate
+
 Thu Nov 19 09:53:00 1998  Andrew Cagney  <cagney@b1.cygnus.com>
 
        * exec.c (exec_file_command): Cleanup. Replace #if
index 915cb74..e7d2484 100755 (executable)
@@ -4901,7 +4901,7 @@ else
 #line 4902 "configure"
 #include "confdefs.h"
 
-#ifdef __CYGWIN__
+#ifdef __CYGWIN32__
 lose
 #endif
 EOF
@@ -5986,7 +5986,7 @@ else
 #include "confdefs.h"
 
 int main() {
-return __CYGWIN__;
+return __CYGWIN32__;
 ; return 0; }
 EOF
 if { (eval echo configure:5993: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
index fb7f775..767e0da 100644 (file)
@@ -550,7 +550,7 @@ case "$host" in
 # In the Cygwin environment, we need some additional flags.
 AC_CACHE_CHECK([for cygwin], gdb_cv_os_cygwin,
 [AC_EGREP_CPP(lose, [
-#ifdef __CYGWIN__
+#ifdef __CYGWIN32__
 lose
 #endif],[gdb_cv_os_cygwin=yes],[gdb_cv_os_cygwin=no])])