summaryrefslogtreecommitdiff
path: root/libguile/filesys.c
diff options
context:
space:
mode:
authorStefan Jahn <stefan@lkcc.org>2004-09-03 19:45:37 +0000
committerStefan Jahn <stefan@lkcc.org>2004-09-03 19:45:37 +0000
commitedea856ce5ace366441ca91484f69c307e629f96 (patch)
tree0d9506601659d0f8f3ca9ca91ef37163e3a3262f /libguile/filesys.c
parent23311fb045a0dae78571c270a927e73c7c193060 (diff)
downloadguile-edea856ce5ace366441ca91484f69c307e629f96.tar.gz
2004-09-03 Stefan Jahn <stefan@lkcc.org>
* configure.in (isinf): Let configure find the isinf() function on MinGW32 systems. 2004-09-03 Stefan Jahn <stefan@lkcc.org> * threads.c (scm_threads_mark_stacks): Fixed local variable definitions. * strings.c (scm_i_substring_copy, s_scm_string_append): Fixed local variable definitions. * stime.c (_POSIX_C_SOURCE): Do not define this item on MinGW32 because it conflicts with its pthread headers. (s_scm_mktime): Consider the HAVE_STRUCT_TM_TM_ZONE define. (s_scm_strftime): Using scm_from_locale_string() instead of scm_makfrom0str(). * posix.c (s_scm_putenv): Fixed typo in the !HAVE_UNSETENV part. * numbers.c (scm_init_numbers): Removed check_sanity() call inside GUILE_DEBUG. The function has been removed somewhen... * filesys.c (_POSIX_C_SOURCE): Do not define this item on MinGW32 because it conflicts with its pthread headers. 2004-09-03 Stefan Jahn <stefan@lkcc.org> * srfi-1.c, srfi-1.h: Renamed any 'lst1' into 'list1' because lst1 is a #define on Win32 systems.
Diffstat (limited to 'libguile/filesys.c')
-rw-r--r--libguile/filesys.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libguile/filesys.c b/libguile/filesys.c
index af3ddc514..78a9dff8a 100644
--- a/libguile/filesys.c
+++ b/libguile/filesys.c
@@ -18,7 +18,9 @@
#define _GNU_SOURCE /* ask glibc for everything */
+#ifndef __MINGW32__
#define _POSIX_C_SOURCE 199506L /* for readdir_r elsewhere */
+#endif
#if HAVE_CONFIG_H
# include <config.h>