summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorSteve Hay <steve.m.hay@googlemail.com>2013-09-18 18:09:47 +0100
committerSteve Hay <steve.m.hay@googlemail.com>2013-09-18 18:12:26 +0100
commit449287ba99a5042be3f0076c28f84c30a264037d (patch)
tree2f5ce7749ab60bdba77995f5ba5c24e1e22ea3c3 /win32
parent4939ea9afe9f64d2c11ad1bd80d27c158e18e5e7 (diff)
downloadperl-449287ba99a5042be3f0076c28f84c30a264037d.tar.gz
Update win32/config_H.[gv]c canned configuration files
The win32/config.[gv]c files are generally kept up to date these days (and we have tests to check that) so no changes are required in them. The win32/config_H.[gv]c files are regenerated as per instructions in the win32/Makefile and win32/makefile.mk, being careful to restore a couple of things otherwise lost from the config_H.gc file. The files are now in sync with the top-level master configuration file, config_h.SH.
Diffstat (limited to 'win32')
-rw-r--r--win32/config_H.gc34
-rw-r--r--win32/config_H.vc34
2 files changed, 36 insertions, 32 deletions
diff --git a/win32/config_H.gc b/win32/config_H.gc
index 6da645a8a3..2b15a18a42 100644
--- a/win32/config_H.gc
+++ b/win32/config_H.gc
@@ -9,7 +9,7 @@
/* Package name : perl5
* Source directory :
- * Configuration time: Tue Aug 13 14:20:46 2013
+ * Configuration time: Wed Sep 18 14:03:46 2013
* Configured by : shay
* Target system :
*/
@@ -892,6 +892,15 @@
#define OSNAME "MSWin32" /**/
#define OSVERS "6.1" /**/
+/* MULTIARCH:
+ * This symbol, if defined, signifies that the build
+ * process will produce some binary files that are going to be
+ * used in a cross-platform environment. This is the case for
+ * example with the NeXT "fat" binaries that contain executables
+ * for several CPUs.
+ */
+/*#define MULTIARCH / **/
+
/* USE_CROSS_COMPILE:
* This symbol, if defined, indicates that Perl is being cross-compiled.
*/
@@ -904,15 +913,6 @@
#define PERL_TARGETARCH "" /**/
#endif
-/* MULTIARCH:
- * This symbol, if defined, signifies that the build
- * process will produce some binary files that are going to be
- * used in a cross-platform environment. This is the case for
- * example with the NeXT "fat" binaries that contain executables
- * for several CPUs.
- */
-/*#define MULTIARCH / **/
-
/* MEM_ALIGNBYTES:
* This symbol contains the number of bytes required to align a
* double, or a long double when applicable. Usual values are 2,
@@ -3118,10 +3118,10 @@
* function used to generate normalized random numbers.
* Values include 15, 16, 31, and 48.
*/
-#define Drand01() (rand()/(double)((unsigned)1<<RANDBITS)) /**/
-#define Rand_seed_t unsigned /**/
-#define seedDrand01(x) srand((Rand_seed_t)x) /**/
-#define RANDBITS 15 /**/
+#define Drand01() Perl_drand48() /**/
+#define Rand_seed_t U32 /**/
+#define seedDrand01(x) Perl_drand48_init((Rand_seed_t)x) /**/
+#define RANDBITS 48 /**/
/* Select_fd_set_t:
* This symbol holds the type used for the 2nd, 3rd, and 4th
@@ -4169,8 +4169,10 @@
#define USE_DYNAMIC_LOADING /**/
/* FFLUSH_NULL:
- * This symbol, if defined, tells that fflush(NULL) does flush
- * all pending stdio output.
+ * This symbol, if defined, tells that fflush(NULL) correctly
+ * flushes all pending stdio output without side effects. In
+ * particular, on some platforms calling fflush(NULL) *still*
+ * corrupts STDIN if it is a pipe.
*/
/* FFLUSH_ALL:
* This symbol, if defined, tells that to flush
diff --git a/win32/config_H.vc b/win32/config_H.vc
index 92dfdd9e3d..f980639ef2 100644
--- a/win32/config_H.vc
+++ b/win32/config_H.vc
@@ -9,7 +9,7 @@
/* Package name : perl5
* Source directory :
- * Configuration time: Tue Aug 13 13:55:09 2013
+ * Configuration time: Wed Sep 18 13:50:58 2013
* Configured by : shay
* Target system :
*/
@@ -892,6 +892,15 @@
#define OSNAME "MSWin32" /**/
#define OSVERS "6.1" /**/
+/* MULTIARCH:
+ * This symbol, if defined, signifies that the build
+ * process will produce some binary files that are going to be
+ * used in a cross-platform environment. This is the case for
+ * example with the NeXT "fat" binaries that contain executables
+ * for several CPUs.
+ */
+/*#define MULTIARCH / **/
+
/* USE_CROSS_COMPILE:
* This symbol, if defined, indicates that Perl is being cross-compiled.
*/
@@ -904,15 +913,6 @@
#define PERL_TARGETARCH "" /**/
#endif
-/* MULTIARCH:
- * This symbol, if defined, signifies that the build
- * process will produce some binary files that are going to be
- * used in a cross-platform environment. This is the case for
- * example with the NeXT "fat" binaries that contain executables
- * for several CPUs.
- */
-/*#define MULTIARCH / **/
-
/* MEM_ALIGNBYTES:
* This symbol contains the number of bytes required to align a
* double, or a long double when applicable. Usual values are 2,
@@ -3112,10 +3112,10 @@
* function used to generate normalized random numbers.
* Values include 15, 16, 31, and 48.
*/
-#define Drand01() (rand()/(double)((unsigned)1<<RANDBITS)) /**/
-#define Rand_seed_t unsigned /**/
-#define seedDrand01(x) srand((Rand_seed_t)x) /**/
-#define RANDBITS 15 /**/
+#define Drand01() Perl_drand48() /**/
+#define Rand_seed_t U32 /**/
+#define seedDrand01(x) Perl_drand48_init((Rand_seed_t)x) /**/
+#define RANDBITS 48 /**/
/* Select_fd_set_t:
* This symbol holds the type used for the 2nd, 3rd, and 4th
@@ -4163,8 +4163,10 @@
#define USE_DYNAMIC_LOADING /**/
/* FFLUSH_NULL:
- * This symbol, if defined, tells that fflush(NULL) does flush
- * all pending stdio output.
+ * This symbol, if defined, tells that fflush(NULL) correctly
+ * flushes all pending stdio output without side effects. In
+ * particular, on some platforms calling fflush(NULL) *still*
+ * corrupts STDIN if it is a pipe.
*/
/* FFLUSH_ALL:
* This symbol, if defined, tells that to flush