guile-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

guile/guile-core/libguile guile.c


From: Marius Vollmer
Subject: guile/guile-core/libguile guile.c
Date: Thu, 01 Nov 2001 19:15:53 -0500

CVSROOT:        /cvs
Module name:    guile
Changes by:     Marius Vollmer <address@hidden> 01/11/01 19:15:53

Modified files:
        guile-core/libguile: guile.c 

Log message:
        Make sure to define __SCM_IMPORT__ for shared library
        build on Win32.  Disable preloaded symbols on Win2 platforms.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/guile/guile-core/libguile/guile.c.diff?cvsroot=OldCVS&tr1=1.8&tr2=1.9&r1=text&r2=text

Patches:
Index: guile/guile-core/libguile/guile.c
diff -u guile/guile-core/libguile/guile.c:1.8 
guile/guile-core/libguile/guile.c:1.9
--- guile/guile-core/libguile/guile.c:1.8       Tue Jun 26 13:53:09 2001
+++ guile/guile-core/libguile/guile.c   Thu Nov  1 19:15:53 2001
@@ -46,6 +46,9 @@
    based on the list of installed, statically linked libraries on the
    system.  For now, please don't put interesting code in here.  */
 
+#ifdef __MINGW32__
+# define __SCM_IMPORT__ 1
+#endif
 #include <libguile.h>
 
 #ifdef HAVE_CONFIG_H
@@ -85,7 +88,7 @@
 int
 main (int argc, char **argv)
 {
-#ifdef DYNAMIC_LINKING
+#if defined (DYNAMIC_LINKING) && !defined (__MINGW32__)
   LTDL_SET_PRELOADED_SYMBOLS ();
 #endif
   scm_boot_guile (argc, argv, inner_main, 0);



reply via email to

[Prev in Thread] Current Thread [Next in Thread]