[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 03/86: Remove _scm hack to undefine HAVE_STRUCT_TIMESPEC
From: |
Andy Wingo |
Subject: |
[Guile-commits] 03/86: Remove _scm hack to undefine HAVE_STRUCT_TIMESPEC |
Date: |
Wed, 20 Jun 2018 14:09:27 -0400 (EDT) |
wingo pushed a commit to branch master
in repository guile.
commit ba265597958fe68b60210c0b2321eb69e0bb0fc7
Author: Andy Wingo <address@hidden>
Date: Sun Jun 17 19:14:38 2018 +0200
Remove _scm hack to undefine HAVE_STRUCT_TIMESPEC
* libguile/_scm.h (HAVE_STRUCT_TIMESPEC): Remove hack to undefine this
variable, which is never defined in Guile's build.
---
libguile/_scm.h | 19 -------------------
1 file changed, 19 deletions(-)
diff --git a/libguile/_scm.h b/libguile/_scm.h
index f5a07d2..a6ca151 100644
--- a/libguile/_scm.h
+++ b/libguile/_scm.h
@@ -43,25 +43,6 @@
/* The size of `scm_t_bits'. */
#define SIZEOF_SCM_T_BITS SIZEOF_VOID_P
-/* 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 <verify.h>
#include <alignof.h>
- [Guile-commits] branch master updated (f84ce54 -> 1234bb1), Andy Wingo, 2018/06/20
- [Guile-commits] 02/86: More _scm.h refactoring, Andy Wingo, 2018/06/20
- [Guile-commits] 06/86: Remove _scm.h inclusion of config.h, Andy Wingo, 2018/06/20
- [Guile-commits] 09/86: Remove alignof.h inclusion from _scm.h, Andy Wingo, 2018/06/20
- [Guile-commits] 03/86: Remove _scm hack to undefine HAVE_STRUCT_TIMESPEC,
Andy Wingo <=
- [Guile-commits] 04/86: Refactor regarding internal detection of ia64, Andy Wingo, 2018/06/20
- [Guile-commits] 08/86: Remove _scm.h verify.h inclusion, Andy Wingo, 2018/06/20
- [Guile-commits] 07/86: Remove errno.h include from _scm.h., Andy Wingo, 2018/06/20
- [Guile-commits] 11/86: Require C99 to build Guile, Andy Wingo, 2018/06/20
- [Guile-commits] 01/86: Move syscall-related private defines to their own header, Andy Wingo, 2018/06/20
- [Guile-commits] 19/86: Remove public SCM_VALIDATE_NIM, Andy Wingo, 2018/06/20
- [Guile-commits] 17/86: Remove unused macros, Andy Wingo, 2018/06/20
- [Guile-commits] 10/86: Assume that if we have GCC, we have GCC >= 3.0., Andy Wingo, 2018/06/20
- [Guile-commits] 05/86: Inline definition of SIZEOF_SCM_T_BITS, Andy Wingo, 2018/06/20
- [Guile-commits] 13/86: Remove _scm.h print.h include, Andy Wingo, 2018/06/20