[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: patch to build guile 1.5.2 on cygwin
From: |
Gerrit P. Haase |
Subject: |
Re: patch to build guile 1.5.2 on cygwin |
Date: |
Mon, 17 Sep 2001 19:03:27 +0200 |
Gerrit P. Haase schrieb am 2001-09-17, 13:14:
>i finally get it managed to build guile with/on cygwin.
>This patch was needed because of problems with winsock
>header which does not work with cygwin.
Well, forgotten to attach the second patch:(
Here it is.
Gerrit
--
=^..^=
diff -ur guile-core-orig/libguile/gdb_interface.h guile/libguile/gdb_interface.h
--- guile-core-orig/libguile/gdb_interface.h Fri Aug 31 12:42:19 2001
+++ guile/libguile/gdb_interface.h Mon Sep 17 18:59:18 2001
@@ -59,7 +59,7 @@
interface in your main program. This is necessary if the interface
is defined in a library, such as Guile. */
-#ifndef __MINGW32__
+#if !defined(__MINGW32__) || !defined(__CYGWIN__)
#define GDB_INTERFACE \
void *gdb_interface[] = { \
&gdb_options, \
@@ -93,7 +93,7 @@
gdb_interface[8] = (void *) gdb_print; \
gdb_interface[9] = (void *) gdb_binding; \
} while (0);
-#endif /* __MINGW32__ */
+#endif /* __MINGW32__,__CYGWIN__ */
/* GDB_OPTIONS is a set of flags informing gdb what features are present
in the interface. Currently only one option is supported: */
@@ -109,7 +109,7 @@
interpreter. For lisp interpreters, the suggested mode is "lisp/c". */
extern char *gdb_language;
-
+
/* GDB_RESULT is used for passing results from the interpreter to GDB */
extern GDB_TYPE gdb_result;