mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-11 22:31:12 +02:00
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.
This commit is contained in:
parent
5159a15306
commit
ba26559795
1 changed files with 0 additions and 19 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue