From 2cf687cb3e2818ac3a6b51fea282a65f4395f580 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Fri, 26 Feb 2010 18:44:36 +0000 Subject: First batch of changes to support W32CE. Note that jnlib/w32-reg.c is not yet ready. --- jnlib/t-support.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'jnlib/t-support.h') diff --git a/jnlib/t-support.h b/jnlib/t-support.h index 52701741b..2dfbc0990 100644 --- a/jnlib/t-support.h +++ b/jnlib/t-support.h @@ -24,7 +24,17 @@ #error The regression tests should not include with gcrypt.h #endif -/* Repalcement prototypes. */ +#ifdef HAVE_W32CE_SYSTEM +#include /* Defines strerror. */ +#endif + + +#ifndef HAVE_GETENV +# define getenv(a) (NULL) +#endif + + +/* Replacement prototypes. */ void *gcry_xmalloc (size_t n); void *gcry_xcalloc (size_t n, size_t m); void *gcry_xrealloc (void *a, size_t n); -- cgit v1.2.3