summaryrefslogtreecommitdiff
path: root/libguile/guile.c
diff options
context:
space:
mode:
Diffstat (limited to 'libguile/guile.c')
-rw-r--r--libguile/guile.c15
1 files changed, 4 insertions, 11 deletions
diff --git a/libguile/guile.c b/libguile/guile.c
index 2c3be8e2f..f827d2642 100644
--- a/libguile/guile.c
+++ b/libguile/guile.c
@@ -43,11 +43,6 @@
#include <winsock2.h>
#endif
-/* Debugger interface (don't change the order of the following lines) */
-#define GDB_TYPE SCM
-#include <libguile/gdb_interface.h>
-GDB_INTERFACE;
-
static void
inner_main (void *closure SCM_UNUSED, int argc, char **argv)
{
@@ -55,7 +50,6 @@ inner_main (void *closure SCM_UNUSED, int argc, char **argv)
/* This is necessary to startup the Winsock API under Win32. */
WSADATA WSAData;
WSAStartup (0x0202, &WSAData);
- GDB_INTERFACE_INIT;
#endif /* __MINGW32__ */
/* module initializations would go here */
@@ -86,11 +80,10 @@ get_integer_from_environment (const char *var, int def)
static int
should_install_locale (void)
{
- /* If the GUILE_INSTALL_LOCALE environment variable is set to a
- nonzero value, we should install the locale via setlocale(). This
- behavior is off by default for compatibility with previous 2.0.x
- releases. It will be on by default in 2.2. */
- return get_integer_from_environment ("GUILE_INSTALL_LOCALE", 0);
+ /* If the GUILE_INSTALL_LOCALE environment variable is unset,
+ or set to a nonzero value, we should install the locale via
+ setlocale(). */
+ return get_integer_from_environment ("GUILE_INSTALL_LOCALE", 1);
}
int