1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-24 12:20:20 +02:00

* __scm.h: don't define long_long or ulong_long if HAVE_LONG_LONGS

is not defined.

	* stime.c (scm_localtime, scm_mktime): if neither HAVE_TM_ZONE nor
	HAVE_TZNAME are defined, use an empty string instead of giving two
	spurious compile-time errors.
This commit is contained in:
Gary Houston 2000-02-08 22:16:15 +00:00
parent 4ba473028c
commit 43ff3170df
3 changed files with 26 additions and 20 deletions

View file

@ -107,16 +107,19 @@
#define STACK_CHECKING
#undef NO_CEVAL_STACK_CHECKING
/* What did the configure script discover about the outside world? */
#include "libguile/scmconfig.h"
#ifdef HAVE_LONG_LONGS
/* Some auto-generated .h files contain unused prototypes
* that need these typedefs.
*/
typedef long long long_long;
typedef unsigned long long ulong_long;
/* What did the configure script discover about the outside world? */
#include "libguile/scmconfig.h"
#endif /* HAVE_LONG_LONGS */
/* Write prototype declarations like this: