summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xConfigure6
-rw-r--r--Cross/config.sh-arm-linux1
-rw-r--r--Cross/config.sh-arm-linux-n7701
-rw-r--r--NetWare/config.wc1
-rw-r--r--NetWare/config_H.wc6
-rw-r--r--Porting/Glossary5
-rw-r--r--Porting/config.sh1
-rw-r--r--Porting/config_H6
-rwxr-xr-xcflags.SH2
-rwxr-xr-xconfig_h.SH6
-rw-r--r--configure.com1
-rw-r--r--ext/POSIX/POSIX.xs3
-rw-r--r--perl.h8
-rw-r--r--plan9/config.plan96
-rw-r--r--plan9/config_h.sample6
-rw-r--r--plan9/config_sh.sample1
-rw-r--r--symbian/config.sh1
-rw-r--r--uconfig.h10
-rw-r--r--uconfig.sh1
-rw-r--r--uconfig64.sh1
-rw-r--r--win32/config.ce1
-rw-r--r--win32/config.gc1
-rw-r--r--win32/config.vc1
-rw-r--r--win32/config_H.ce6
-rw-r--r--win32/config_H.gc6
-rw-r--r--win32/config_H.vc6
26 files changed, 4 insertions, 90 deletions
diff --git a/Configure b/Configure
index c5114ff778..7df8e675bf 100755
--- a/Configure
+++ b/Configure
@@ -1031,7 +1031,6 @@ i_quadmath=''
i_shadow=''
i_socks=''
i_stdbool=''
-i_stddef=''
i_stdint=''
i_stdlib=''
i_string=''
@@ -23304,10 +23303,6 @@ $rm_try
set i_stdbool
eval $setvar
-: see if stddef is available
-set stddef.h i_stddef
-eval $inhdr
-
: see if stdint is available
set stdint.h i_stdint
eval $inhdr
@@ -24709,7 +24704,6 @@ i_sgtty='$i_sgtty'
i_shadow='$i_shadow'
i_socks='$i_socks'
i_stdbool='$i_stdbool'
-i_stddef='$i_stddef'
i_stdint='$i_stdint'
i_stdlib='$i_stdlib'
i_string='$i_string'
diff --git a/Cross/config.sh-arm-linux b/Cross/config.sh-arm-linux
index 80cfbec377..0bcaba4219 100644
--- a/Cross/config.sh-arm-linux
+++ b/Cross/config.sh-arm-linux
@@ -773,7 +773,6 @@ i_sgtty='undef'
i_shadow='define'
i_socks='undef'
i_stdbool='undef'
-i_stddef='define'
i_stdint='define'
i_stdlib='define'
i_string='define'
diff --git a/Cross/config.sh-arm-linux-n770 b/Cross/config.sh-arm-linux-n770
index 95c653f8eb..a39cd6f648 100644
--- a/Cross/config.sh-arm-linux-n770
+++ b/Cross/config.sh-arm-linux-n770
@@ -632,7 +632,6 @@ i_rpcsvcdbm='undef'
i_sgtty='undef'
i_shadow='define'
i_socks='undef'
-i_stddef='define'
i_stdlib='define'
i_string='define'
i_sunmath='undef'
diff --git a/NetWare/config.wc b/NetWare/config.wc
index 8a6df03e10..1bbafd4fde 100644
--- a/NetWare/config.wc
+++ b/NetWare/config.wc
@@ -755,7 +755,6 @@ i_sgtty='undef'
i_shadow='undef'
i_socks='undef'
i_stdbool='define'
-i_stddef='define'
i_stdint='undef'
i_stdlib='define'
i_string='define'
diff --git a/NetWare/config_H.wc b/NetWare/config_H.wc
index 1ed624a499..95a42ce320 100644
--- a/NetWare/config_H.wc
+++ b/NetWare/config_H.wc
@@ -724,12 +724,6 @@
*/
#define I_NETINET_IN /**/
-/* I_STDDEF:
- * This symbol, if defined, indicates that <stddef.h> exists and should
- * be included.
- */
-#define I_STDDEF /**/
-
/* I_STRING:
* This symbol, if defined, indicates to the C program that it should
* include <string.h> (USG systems) instead of <strings.h> (BSD systems).
diff --git a/Porting/Glossary b/Porting/Glossary
index 5fcaeec9a8..4821813c00 100644
--- a/Porting/Glossary
+++ b/Porting/Glossary
@@ -3606,11 +3606,6 @@ i_stdbool (i_stdbool.U):
indicates to the C program that <stdbool.h> exists and should
be included.
-i_stddef (i_stddef.U):
- This variable conditionally defines the I_STDDEF symbol, which
- indicates to the C program that <stddef.h> exists and should
- be included.
-
i_stdint (i_stdint.U):
This variable conditionally defines the I_STDINT symbol, which
indicates to the C program that <stdint.h> exists and should
diff --git a/Porting/config.sh b/Porting/config.sh
index a67c756c4e..dfc62f4ce6 100644
--- a/Porting/config.sh
+++ b/Porting/config.sh
@@ -791,7 +791,6 @@ i_sgtty='undef'
i_shadow='undef'
i_socks='undef'
i_stdbool='define'
-i_stddef='define'
i_stdint='define'
i_stdlib='define'
i_string='define'
diff --git a/Porting/config_H b/Porting/config_H
index 000fa36d2a..93865a7916 100644
--- a/Porting/config_H
+++ b/Porting/config_H
@@ -676,12 +676,6 @@
*/
/*#define I_STDBOOL / **/
-/* I_STDDEF:
- * This symbol, if defined, indicates that <stddef.h> exists and should
- * be included.
- */
-#define I_STDDEF /**/
-
/* I_STRING:
* This symbol, if defined, indicates to the C program that it should
* include <string.h> (USG systems) instead of <strings.h> (BSD systems).
diff --git a/cflags.SH b/cflags.SH
index fd2a2c24e4..5834f024f8 100755
--- a/cflags.SH
+++ b/cflags.SH
@@ -74,9 +74,7 @@ cat >_cflags.c <<__EOT__
/* Just in case the inclusion of perl.h did not
* pull in enough system headers, let's try again. */
#include <stdlib.h>
-#ifdef I_STDDEF
#include <stddef.h>
-#endif
#include <stdarg.h>
#ifdef I_LIMITS
#include <limits.h>
diff --git a/config_h.SH b/config_h.SH
index 5e259a1e89..6c0520135d 100755
--- a/config_h.SH
+++ b/config_h.SH
@@ -725,12 +725,6 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
*/
#$i_niin I_NETINET_IN /**/
-/* I_STDDEF:
- * This symbol, if defined, indicates that <stddef.h> exists and should
- * be included.
- */
-#$i_stddef I_STDDEF /**/
-
/* I_STRING:
* This symbol, if defined, indicates to the C program that it should
* include <string.h> (USG systems) instead of <strings.h> (BSD systems).
diff --git a/configure.com b/configure.com
index 19b62c9ddb..97301173aa 100644
--- a/configure.com
+++ b/configure.com
@@ -6585,7 +6585,6 @@ $ WC "i_stdbool='define'"
$ ELSE
$ WC "i_stdbool='undef'"
$ ENDIF
-$ WC "i_stddef='define'"
$ WC "i_stdint='undef'"
$ WC "i_stdlib='define'"
$ WC "i_string='define'"
diff --git a/ext/POSIX/POSIX.xs b/ext/POSIX/POSIX.xs
index ab50226ff3..421c57fbc8 100644
--- a/ext/POSIX/POSIX.xs
+++ b/ext/POSIX/POSIX.xs
@@ -53,10 +53,7 @@ static int not_here(const char *s);
#include <setjmp.h>
#include <signal.h>
#include <stdarg.h>
-
-#ifdef I_STDDEF
#include <stddef.h>
-#endif
#ifdef I_UNISTD
#include <unistd.h>
diff --git a/perl.h b/perl.h
index 042c6d9f73..e7f25b125b 100644
--- a/perl.h
+++ b/perl.h
@@ -908,12 +908,8 @@ EXTERN_C int usleep(unsigned int);
# define PERL_STRLEN_EXPAND_SHIFT 2
#endif
-#if defined(STANDARD_C) && defined(I_STDDEF) && !defined(PERL_GCC_PEDANTIC)
-# include <stddef.h>
-# define STRUCT_OFFSET(s,m) offsetof(s,m)
-#else
-# define STRUCT_OFFSET(s,m) (Size_t)(&(((s *)0)->m))
-#endif
+#include <stddef.h>
+#define STRUCT_OFFSET(s,m) offsetof(s,m)
/* ptrdiff_t is C11, so undef it under pedantic builds */
#ifdef PERL_GCC_PEDANTIC
diff --git a/plan9/config.plan9 b/plan9/config.plan9
index 0daf313683..c9863b603e 100644
--- a/plan9/config.plan9
+++ b/plan9/config.plan9
@@ -722,12 +722,6 @@
*/
#define I_NETINET_IN /* config-skip */
-/* I_STDDEF:
- * This symbol, if defined, indicates that <stddef.h> exists and should
- * be included.
- */
-#define I_STDDEF /**/
-
/* I_STRING:
* This symbol, if defined, indicates to the C program that it should
* include <string.h> (USG systems) instead of <strings.h> (BSD systems).
diff --git a/plan9/config_h.sample b/plan9/config_h.sample
index dcf3bdcc92..ec8bafec47 100644
--- a/plan9/config_h.sample
+++ b/plan9/config_h.sample
@@ -686,12 +686,6 @@
*/
#define I_NETINET_IN /**/
-/* I_STDDEF:
- * This symbol, if defined, indicates that <stddef.h> exists and should
- * be included.
- */
-#define I_STDDEF /**/
-
/* I_STRING:
* This symbol, if defined, indicates to the C program that it should
* include <string.h> (USG systems) instead of <strings.h> (BSD systems).
diff --git a/plan9/config_sh.sample b/plan9/config_sh.sample
index 8f1447757a..bfe766628b 100644
--- a/plan9/config_sh.sample
+++ b/plan9/config_sh.sample
@@ -767,7 +767,6 @@ i_sgtty='undef'
i_shadow='undef'
i_socks='undef'
i_stdbool='undef'
-i_stddef='define'
i_stdint='undef'
i_stdlib='define'
i_string='define'
diff --git a/symbian/config.sh b/symbian/config.sh
index 8cec7ff1a2..904e973a3b 100644
--- a/symbian/config.sh
+++ b/symbian/config.sh
@@ -696,7 +696,6 @@ i_shadow='undef'
i_socks='undef'
i_stdarg='define'
i_stdbool='undef'
-i_stddef='undef'
i_stdint='undef'
i_stdlib='define'
i_string='define'
diff --git a/uconfig.h b/uconfig.h
index db249d113e..8f1b8ad14c 100644
--- a/uconfig.h
+++ b/uconfig.h
@@ -690,12 +690,6 @@
*/
/*#define I_NETINET_IN / **/
-/* I_STDDEF:
- * This symbol, if defined, indicates that <stddef.h> exists and should
- * be included.
- */
-#define I_STDDEF /**/
-
/* I_STRING:
* This symbol, if defined, indicates to the C program that it should
* include <string.h> (USG systems) instead of <strings.h> (BSD systems).
@@ -5275,6 +5269,6 @@
#endif
/* Generated from:
- * 71879525dcc4fa1f709eedff386a3384fad9b06f7f066a51ecc7f6bba9331b24 config_h.SH
- * 408e88881e8a567afeba7b56cb949d7886e8473896575932bfdef72ee9c32249 uconfig.sh
+ * 946b039c5c96299edae15aed6aeb6ca541042f6e545cb5631660412885369e33 config_h.SH
+ * ac7c2c95dc09327ba3d5305e3e786bcd8c6d759f88fc469a2f1b9310f03137f9 uconfig.sh
* ex: set ro: */
diff --git a/uconfig.sh b/uconfig.sh
index a3a955c91a..14afc70a99 100644
--- a/uconfig.sh
+++ b/uconfig.sh
@@ -681,7 +681,6 @@ i_sgtty='undef'
i_shadow='undef'
i_socks='undef'
i_stdbool='undef'
-i_stddef='define'
i_stdint='undef'
i_stdlib='define'
i_string='define'
diff --git a/uconfig64.sh b/uconfig64.sh
index a1f7126248..94b0936aa3 100644
--- a/uconfig64.sh
+++ b/uconfig64.sh
@@ -681,7 +681,6 @@ i_sgtty='undef'
i_shadow='undef'
i_socks='undef'
i_stdbool='undef'
-i_stddef='define'
i_stdint='undef'
i_stdlib='define'
i_string='define'
diff --git a/win32/config.ce b/win32/config.ce
index 76676a4a21..adaea891be 100644
--- a/win32/config.ce
+++ b/win32/config.ce
@@ -751,7 +751,6 @@ i_sgtty='undef'
i_shadow='undef'
i_socks='undef'
i_stdbool='undef'
-i_stddef='define'
i_stdint='undef'
i_stdlib='define'
i_string='define'
diff --git a/win32/config.gc b/win32/config.gc
index 70eefc9a09..591694625e 100644
--- a/win32/config.gc
+++ b/win32/config.gc
@@ -765,7 +765,6 @@ i_sgtty='undef'
i_shadow='undef'
i_socks='undef'
i_stdbool='define'
-i_stddef='define'
i_stdint='undef'
i_stdlib='define'
i_string='define'
diff --git a/win32/config.vc b/win32/config.vc
index 33f2dadf6c..44baf36453 100644
--- a/win32/config.vc
+++ b/win32/config.vc
@@ -762,7 +762,6 @@ i_sgtty='undef'
i_shadow='undef'
i_socks='undef'
i_stdbool='undef'
-i_stddef='define'
i_stdint='undef'
i_stdlib='define'
i_string='define'
diff --git a/win32/config_H.ce b/win32/config_H.ce
index 331bca2023..b7cd127621 100644
--- a/win32/config_H.ce
+++ b/win32/config_H.ce
@@ -668,12 +668,6 @@
*/
/*#define I_NETINET_IN /**/
-/* I_STDDEF:
- * This symbol, if defined, indicates that <stddef.h> exists and should
- * be included.
- */
-#define I_STDDEF /**/
-
/* I_STRING:
* This symbol, if defined, indicates to the C program that it should
* include <string.h> (USG systems) instead of <strings.h> (BSD systems).
diff --git a/win32/config_H.gc b/win32/config_H.gc
index 3d19d6145a..76f331d19c 100644
--- a/win32/config_H.gc
+++ b/win32/config_H.gc
@@ -678,12 +678,6 @@
*/
/*#define I_NETINET_IN / **/
-/* I_STDDEF:
- * This symbol, if defined, indicates that <stddef.h> exists and should
- * be included.
- */
-#define I_STDDEF /**/
-
/* I_STRING:
* This symbol, if defined, indicates to the C program that it should
* include <string.h> (USG systems) instead of <strings.h> (BSD systems).
diff --git a/win32/config_H.vc b/win32/config_H.vc
index 7ca7306a97..ce796ab504 100644
--- a/win32/config_H.vc
+++ b/win32/config_H.vc
@@ -678,12 +678,6 @@
*/
/*#define I_NETINET_IN / **/
-/* I_STDDEF:
- * This symbol, if defined, indicates that <stddef.h> exists and should
- * be included.
- */
-#define I_STDDEF /**/
-
/* I_STRING:
* This symbol, if defined, indicates to the C program that it should
* include <string.h> (USG systems) instead of <strings.h> (BSD systems).