diff options
author | David Leadbeater <dgl@dgl.cx> | 2011-03-07 18:54:21 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2011-03-28 10:21:47 +0100 |
commit | 1e54a0f5eb12878354428964c5ccbc59e81ed88b (patch) | |
tree | 202a6056ffeaa1ca13b927556d57068dc33cdef9 | |
parent | 01d65469392dfc0a9e7a9b5a1a7770e9306b9213 (diff) | |
download | perl-1e54a0f5eb12878354428964c5ccbc59e81ed88b.tar.gz |
microperl: On (at least) OS X and Linux stddef.h is needed for ptrdiff_t
This shouldn't hurt on other system either.
-rw-r--r-- | README.micro | 2 | ||||
-rw-r--r-- | uconfig.h | 4 | ||||
-rw-r--r-- | uconfig.sh | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/README.micro b/README.micro index 040fcff6bb..c51c18520d 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: -- <stdlib.h> +- <stddef.h>, <stdlib.h> - rename() - opendir(), readdir(), closedir() (via dirent.h) - memchr(), memcmp(), memcpy() (via string.h) @@ -713,7 +713,7 @@ * This symbol, if defined, indicates that <stddef.h> exists and should * be included. */ -/*#define I_STDDEF / **/ +#define I_STDDEF /**/ /* I_STDLIB: * This symbol, if defined, indicates that <stdlib.h> 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 c05661ece2..6b501679cd 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' |