Hi,

The following patch makes sure `time' uses `AC_C_RESTRICT'.

This fixes compilation at least on MinGW as reported here:

  http://thread.gmane.org/gmane.lisp.guile.bugs/3984

Thanks,
Ludovic.

>From 06dc37c4ee56e9d32bfcb79ace9221c903ade7b2 Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Ludovic=20Court=C3=A8s?= <[EMAIL PROTECTED]>
Date: Thu, 11 Sep 2008 21:27:23 +0200
Subject: [PATCH] time: Use `AC_C_RESTRICT'.

* modules/time (configure.ac): Add `AC_C_RESTRICT'.  Fixes compilation on
  MinGW.  Reported by Han-Wen Nienhuys <[EMAIL PROTECTED]>.
---
 modules/time |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/time b/modules/time
index 50b07af..8b28dda 100644
--- a/modules/time
+++ b/modules/time
@@ -10,6 +10,7 @@ extensions
 include_next
 
 configure.ac:
+AC_C_RESTRICT
 gl_HEADER_TIME_H
 
 Makefile.am:
-- 
1.6.0

Reply via email to