diff options
author | Ludovic Courtès <ludo@gnu.org> | 2009-02-14 17:47:24 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2009-02-14 17:47:24 +0100 |
commit | bb2e15a5f4129d0ed9dedb2ac39f3205480c849e (patch) | |
tree | 3a1d0723d1d13dc562b1e09ad1a617ac00e2c4d4 /libguile/_scm.h | |
parent | 4cc889000192b284913b92417afd0f39f7f6f134 (diff) | |
parent | f7a1ab8b946e03f6ad5ccdecba5e8d69b3ce0a1a (diff) | |
download | guile-bb2e15a5f4129d0ed9dedb2ac39f3205480c849e.tar.gz |
Merge branch 'boehm-demers-weiser-gc' into bdw-gc-static-alloc
Conflicts:
.gitignore
libguile/procs.h
Diffstat (limited to 'libguile/_scm.h')
-rw-r--r-- | libguile/_scm.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/libguile/_scm.h b/libguile/_scm.h index 15faa1734..ff033ded0 100644 --- a/libguile/_scm.h +++ b/libguile/_scm.h @@ -38,6 +38,25 @@ # include <config.h> #endif +/* Undefine HAVE_STRUCT_TIMESPEC, because the libguile C code doesn't + need it anymore, and because on MinGW: + + - the definition of struct timespec is provided (if at all) by + pthread.h + + - pthread.h will _not_ define struct timespec if + HAVE_STRUCT_TIMESPEC is 1, because then it thinks that it doesn't + need to. + + The libguile C code doesn't need HAVE_STRUCT_TIMESPEC anymore, + because the value of HAVE_STRUCT_TIMESPEC has already been + incorporated in how scm_t_timespec is defined (in scmconfig.h), and + the rest of the libguile C code now just uses scm_t_timespec. + */ +#ifdef HAVE_STRUCT_TIMESPEC +#undef HAVE_STRUCT_TIMESPEC +#endif + #include <errno.h> #include "libguile/__scm.h" |