This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Adjust need size for locale radix.
[perl5.git] / uconfig.h
index 37a2545..a1aa34f 100644 (file)
--- a/uconfig.h
+++ b/uconfig.h
  */
 /*#define HAS_DIFFTIME         / **/
 
-/* HAS_DLADDR:
- *     This symbol, if defined, indicates that the dladdr routine is
- *     available to return information about stack addresses.
- */
-/*#define HAS_DLADDR   / **/
-
 /* HAS_DLERROR:
  *     This symbol, if defined, indicates that the dlerror routine is
  *     available to return a string describing the last error that
  */
 /*#define HAS_DLERROR  / **/
 
-/* HAS_BACKTRACE:
- *     This symbol, if defined, indicates that the backtrace routine is
- *     available to return backtrace information about the C stack.
- */
-/*#define HAS_BACKTRACE        / **/
-
 /* HAS_DUP2:
  *     This symbol, if defined, indicates that the dup2 routine is
  *     available to duplicate file descriptors.
  */
 /*#define I_DLFCN              / **/
 
-/* I_EXECINFO:
- *     This symbol, if defined, indicates that <execinfo.h> exists and should
- *     be included.
- */
-/*#define I_EXECINFO           / **/
-
 /* I_FCNTL:
  *     This manifest constant tells the C program to include <fcntl.h>.
  */
  *     This symbol holds the hexadecimal constant defined in byteorder,
  *     in a UV, i.e. 0x1234 or 0x4321 or 0x12345678, etc...
  *     If the compiler supports cross-compiling or multiple-architecture
- *     binaries (e.g. on NeXT systems), use compiler-defined macros to
+ *     binaries, use compiler-defined macros to
  *     determine the byte order.
- *     On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture
- *     Binaries (MAB) on either big endian or little endian machines.
- *     The endian-ness is available at compile-time.  This only matters
- *     for perl, where the config.h can be generated and installed on
- *     one system, and used by a different architecture to build an
- *     extension.  Older versions of NeXT that might not have
- *     defined either *_ENDIAN__ were all on Motorola 680x0 series,
- *     so the default case (for NeXT) is big endian to catch them.
- *     This might matter for NeXT 3.0.
  */
 #if defined(MULTIARCH)
 #  ifdef __LITTLE_ENDIAN__
 #      endif
 #    endif
 #  endif
-#  if !defined(BYTEORDER) && (defined(NeXT) || defined(__NeXT__))
-#    define BYTEORDER 0x4321
-#  endif
 #else
 #define BYTEORDER 0x1234       /* large digits for MSB */
-#endif /* NeXT */
+#endif
 
 /* CHARBITS:
  *     This symbol contains the size of a char, so that the C preprocessor
 /*#define HASATTRIBUTE_UNUSED  / **/
 /*#define HASATTRIBUTE_WARN_UNUSED_RESULT      / **/
 
+/* HAS_BACKTRACE:
+ *     This symbol, if defined, indicates that the backtrace() routine is
+ *     available to get a stack trace.  The <execinfo.h> header must be
+ *     included to use this routine.
+ */
+/*#define HAS_BACKTRACE        / **/
+
 /* CASTI32:
  *     This symbol is defined if the C compiler can cast negative
  *     or large floating point numbers to 32-bit ints.
 /*#define HAS_CTIME_R     / **/
 #define CTIME_R_PROTO 0           /**/
 
+/* HAS_DLADDR:
+ *     This symbol, if defined, indicates that the dladdr() routine is
+ *     available to query dynamic linker information for an address.
+ *     The <dlfcn.h> header must be included to use this routine.
+ */
+/*#define HAS_DLADDR   / **/
+
 /* SETUID_SCRIPTS_ARE_SECURE_NOW:
  *     This symbol, if defined, indicates that the bug that prevents
  *     setuid scripts from being secure is not present in this kernel.
  *     C preprocessor can make decisions based on it.  It is only
  *     defined if the system supports long doubles.
  */
+/* LONG_DOUBLEKIND:
+ *     LONG_DOUBLEKIND will be one of
+ *     LONG_DOUBLE_IS_DOUBLE
+ *     LONG_DOUBLE_IS_IEEE_754_128_BIT_LITTLE_ENDIAN
+ *     LONG_DOUBLE_IS_IEEE_754_128_BIT_BIG_ENDIAN
+ *     LONG_DOUBLE_IS_X86_80_BIT_LITTLE_ENDIAN
+ *     LONG_DOUBLE_IS_X86_80_BIT_BIG_ENDIAN
+ *     LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_LITTLE_ENDIAN
+ *     LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_BIG_ENDIAN
+ *     LONG_DOUBLE_IS_UNKNOWN_FORMAT
+ *     It is only defined if the system supports long doubles.
+ */
 /*#define HAS_LONG_DOUBLE              / **/
 #ifdef HAS_LONG_DOUBLE
 #define LONG_DOUBLESIZE 8              /**/
+#define LONG_DOUBLEKIND 0              /**/
+#define LONG_DOUBLE_IS_DOUBLE                          0
+#define LONG_DOUBLE_IS_IEEE_754_128_BIT_LITTLE_ENDIAN  1
+#define LONG_DOUBLE_IS_IEEE_754_128_BIT_BIG_ENDIAN     2
+#define LONG_DOUBLE_IS_X86_80_BIT_LITTLE_ENDIAN                3
+#define LONG_DOUBLE_IS_X86_80_BIT_BIG_ENDIAN           4
+#define LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_LITTLE_ENDIAN      5
+#define LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_BIG_ENDIAN 6
+#define LONG_DOUBLE_IS_UNKNOWN_FORMAT                  -1
 #endif
 
 /* HAS_LONG_LONG:
 /*#define DIRNAMLEN    / **/
 #define Direntry_t struct dirent
 
+/* I_EXECINFO:
+ *     This symbol, if defined, indicates to the C program that it should
+ *     include <execinfo.h> for backtrace() support.
+ */
+/*#define I_EXECINFO           / **/
+
 /* I_GRP:
  *     This symbol, if defined, indicates to the C program that it should
  *     include <grp.h>.
  */
 /*#define      I_SYSUIO                / **/
 
+/* I_TERMIO:
+ *     This symbol, if defined, indicates that the program should include
+ *     <termio.h> rather than <sgtty.h>.  There are also differences in
+ *     the ioctl() calls that depend on the value of this symbol.
+ */
+/* I_TERMIOS:
+ *     This symbol, if defined, indicates that the program should include
+ *     the POSIX termios.h rather than sgtty.h or termio.h.
+ *     There are also differences in the ioctl() calls that depend on the
+ *     value of this symbol.
+ */
+/* I_SGTTY:
+ *     This symbol, if defined, indicates that the program should include
+ *     <sgtty.h> rather than <termio.h>.  There are also differences in
+ *     the ioctl() calls that depend on the value of this symbol.
+ */
+/*#define I_TERMIO             / **/
+/*#define I_TERMIOS            / **/
+/*#define I_SGTTY              / **/
+
 /* I_TIME:
  *     This symbol, if defined, indicates to the C program that it should
  *     include <time.h>.
 /*#define PERL_VENDORLIB_EXP ""                / **/
 /*#define PERL_VENDORLIB_STEM ""               / **/
 
-/* I_TERMIO:
- *     This symbol, if defined, indicates that the program should include
- *     <termio.h> rather than <sgtty.h>.  There are also differences in
- *     the ioctl() calls that depend on the value of this symbol.
- */
-/* I_TERMIOS:
- *     This symbol, if defined, indicates that the program should include
- *     the POSIX termios.h rather than sgtty.h or termio.h.
- *     There are also differences in the ioctl() calls that depend on the
- *     value of this symbol.
- */
-/* I_SGTTY:
- *     This symbol, if defined, indicates that the program should include
- *     <sgtty.h> rather than <termio.h>.  There are also differences in
- *     the ioctl() calls that depend on the value of this symbol.
- */
-/*#define I_TERMIO             / **/
-/*#define I_TERMIOS            / **/
-/*#define I_SGTTY              / **/
-
 /* USE_CROSS_COMPILE:
  *     This symbol, if defined, indicates that Perl is being cross-compiled.
  */
  */
 /*#define HAS_FREXPL           / **/
 
+/* HAS_LDEXPL:
+ *     This symbol, if defined, indicates that the ldexpl routine is
+ *     available to shift a long double floating-point number
+ *     by an integral power of 2.
+ */
+/*#define HAS_LDEXPL           / **/
+
 /* HAS_STRUCT_FS_DATA:
  *     This symbol, if defined, indicates that the struct fs_data
  *     to do statfs() is supported.
  */
 /*#define HAS_PTHREAD_ATTR_SETSCOPE            / **/
 
+/* HAS_PTRDIFF_T:
+ *     This symbol will be defined if the C compiler supports ptrdiff_t.
+ */
+#define        HAS_PTRDIFF_T                   /**/
+
 /* HAS_READV:
  *     This symbol, if defined, indicates that the readv routine is
  *     available to do gather reads.  You will also need <sys/uio.h>
 
 /* I_BFD:
  *     This symbol, if defined, indicates that <bfd.h> exists and
- *     could be included by the C program to use the BFD library.
+ *     can be included.
  */
 /*#define      I_BFD           / **/
 
 /*#define PERL_PRIeldbl        "lle"   / **/
 /*#define PERL_SCNfldbl        "llf"   / **/
 
-/* PERL_MAD:
- *     This symbol, if defined, indicates that the Misc Attribution
- *     Declaration code should be conditionally compiled.
- */
-/*#define      PERL_MAD                / **/
-
 /* NEED_VA_COPY:
  *     This symbol, if defined, indicates that the system stores
  *     the variable argument list datatype, va_list, in a format
 /*#define      USE_64_BIT_ALL          / **/
 #endif
 
+/* USE_CBACKTRACE:
+ *     This symbol, if defined, indicates that Perl should
+ *     be built with support for backtrace.
+ */
+/*#define USE_CBACKTRACE               / **/
+
 /* USE_DTRACE:
  *     This symbol, if defined, indicates that Perl should
  *     be built with support for DTrace.
 #endif
 
 /* Generated from:
- * 45e2c6b42b88b07e21adb94c47d9bd7bcb8da04e2bbb38d7223eb516eb7d99de config_h.SH
- * 6d0cc2cac48fbe8139cf8a89bdd458a93797d18e649f3ed80896bfe4d218b0a2 uconfig.sh
+ * 5f68e17a9d9e989b824daf55d2adcad3b7af2becfa8f627c6cb1d0e376f7e1a5 config_h.SH
+ * 98397a7d818a024628d6b34e5903a8f408da96601a2a19471c480511f3c8d914 uconfig.sh
  * ex: set ro: */