From 1e54a0f5eb12878354428964c5ccbc59e81ed88b Mon Sep 17 00:00:00 2001 From: David Leadbeater Date: Mon, 7 Mar 2011 18:54:21 +0000 Subject: [PATCH] microperl: On (at least) OS X and Linux stddef.h is needed for ptrdiff_t This shouldn't hurt on other system either. --- README.micro | 2 +- uconfig.h | 4 ++-- uconfig.sh | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.micro b/README.micro index 040fcff..c51c185 100644 --- a/README.micro +++ b/README.micro @@ -7,7 +7,7 @@ All this is experimental. If you don't know what to do with microperl you probably shouldn't. Do not report bugs in microperl; fix the bugs. We assume ANSI C89 plus the following: -- +- , - rename() - opendir(), readdir(), closedir() (via dirent.h) - memchr(), memcmp(), memcpy() (via string.h) diff --git a/uconfig.h b/uconfig.h index 913ceed..d1f740d 100644 --- a/uconfig.h +++ b/uconfig.h @@ -713,7 +713,7 @@ * This symbol, if defined, indicates that exists and should * be included. */ -/*#define I_STDDEF / **/ +#define I_STDDEF /**/ /* I_STDLIB: * This symbol, if defined, indicates that exists and should @@ -4687,5 +4687,5 @@ /* Generated from: * 323778627146f2762cd41f4dd1db6659f59006ec9bcaaf6bcc645d0380dda938 config_h.SH - * 0a1e8a170495d354031144ac47835fc8f8fc03739bc761d973cc3a4aa347797e uconfig.sh + * 88e2345cc35c7e487688d8fa408da4da757067afcec4dd4e0698c31d25630026 uconfig.sh * ex: set ro: */ diff --git a/uconfig.sh b/uconfig.sh index c05661e..6b50167 100644 --- a/uconfig.sh +++ b/uconfig.sh @@ -584,7 +584,7 @@ i_sgtty='undef' i_shadow='undef' i_socks='undef' i_stdarg='define' -i_stddef='undef' +i_stddef='define' i_stdlib='define' i_string='define' i_sunmath='undef' -- 2.7.4