* i386-sol2-tdep.c (i386_sol2_mcontext_addr): New function.
[deliverable/binutils-gdb.git] / gdb / rdi-share / hostchan.h
index b9acb77919d51c06bf03f3347e187b73485946d5..b60804d437959dd8e91add0b5c362e569b0650d1 100644 (file)
 #ifndef angsd_hostchan_h
 #define angsd_hostchan_h
 
-/* 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
+/* A temporary sop to older compilers */
+#if defined (__NetBSD__) || defined (unix)
+#  ifndef __unix              /* (good for long-term portability?)  */
+#    define __unix    1
+#  endif
 #endif
 
 /* struct timeval */
-#if defined(__unix) || defined(__CYGWIN32__)
+#if defined(__unix) || defined(__CYGWIN__)
 #  include <sys/time.h>
 #else
 #  include "winsock.h"
This page took 0.023624 seconds and 4 git commands to generate.