summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorTony Cook <tony@develop-help.com>2021-01-07 11:32:36 +1100
committerTony Cook <tony@develop-help.com>2021-01-07 11:32:36 +1100
commitd1293dc2841a5dd8bf302ca97e28bd2f200bfc13 (patch)
treef0797bc98c001c3c186a3ac8ce8528b2045334ea /win32
parent85c783f37d0b9b2c1bc2b93ae02254efe983d87a (diff)
downloadperl-d1293dc2841a5dd8bf302ca97e28bd2f200bfc13.tar.gz
reinstate USE_LARGE_FILES for the packaged win32 config.h files
8b3db1a0c enabled this, but a change based on the old disable- use-large-file rule in my d9f9953f74 disabled it, so re-enable it. This prevents some build warnings when building miniperl.
Diffstat (limited to 'win32')
-rw-r--r--win32/config_H.gc25
-rw-r--r--win32/config_H.vc25
2 files changed, 38 insertions, 12 deletions
diff --git a/win32/config_H.gc b/win32/config_H.gc
index 46a13c3f1c..2143b37b3e 100644
--- a/win32/config_H.gc
+++ b/win32/config_H.gc
@@ -9,7 +9,7 @@
/* Package name : perl5
* Source directory :
- * Configuration time: Mon Oct 19 14:19:25 2020
+ * Configuration time: Thu Jan 7 11:18:08 2021
* Configured by : tony
* Target system :
*/
@@ -1369,7 +1369,7 @@
* feature tests from Configure are generally more reliable.
*/
#define OSNAME "MSWin32" /**/
-#define OSVERS "10.0.18363.1139" /**/
+#define OSVERS "10.0.19041.685" /**/
/* CAT2:
* This macro concatenates 2 tokens together.
@@ -4247,7 +4247,7 @@
* should be used when available.
*/
#ifndef USE_LARGE_FILES
-/*#define USE_LARGE_FILES / **/
+#define USE_LARGE_FILES /**/
#endif
/* USE_LONG_DOUBLE:
@@ -4540,6 +4540,19 @@
/*#define HAS_ENDSERVENT_R / **/
#define ENDSERVENT_R_PROTO 0 /**/
+/* GETENV_PRESERVES_OTHER_THREAD:
+ * This symbol, if defined, indicates that the getenv system call doesn't
+ * zap the static buffer of getenv() in a different thread.
+ *
+ * The typical getenv() implementation will return a pointer to the proper
+ * position in **environ. But some may instead copy them to a static
+ * buffer in getenv(). If there is a per-thread instance of that buffer,
+ * or the return points to **environ, then a many-reader/1-writer mutex
+ * will work; otherwise an exclusive locking mutex is required to prevent
+ * races.
+ */
+#define GETENV_PRESERVES_OTHER_THREAD /**/
+
/* HAS_GETGRENT_R:
* This symbol, if defined, indicates that the getgrent_r routine
* is available to getgrent re-entrantly.
@@ -5211,9 +5224,9 @@
/* Off_t_size:
* This symbol holds the number of bytes used by the Off_t.
*/
-#define Off_t long /* <offset> type */
-#define LSEEKSIZE 4 /* <offset> size */
-#define Off_t_size 4 /* <offset> size */
+#define Off_t long long /* <offset> type */
+#define LSEEKSIZE 8 /* <offset> size */
+#define Off_t_size 8 /* <offset> size */
/* Mode_t:
* This symbol holds the type used to declare file modes
diff --git a/win32/config_H.vc b/win32/config_H.vc
index d067e1d142..2162287f14 100644
--- a/win32/config_H.vc
+++ b/win32/config_H.vc
@@ -9,7 +9,7 @@
/* Package name : perl5
* Source directory :
- * Configuration time: Mon Oct 19 14:24:24 2020
+ * Configuration time: Thu Jan 7 11:25:42 2021
* Configured by : tony
* Target system :
*/
@@ -1369,7 +1369,7 @@
* feature tests from Configure are generally more reliable.
*/
#define OSNAME "MSWin32" /**/
-#define OSVERS "10.0.18363.1139" /**/
+#define OSVERS "10.0.19041.685" /**/
/* CAT2:
* This macro concatenates 2 tokens together.
@@ -4247,7 +4247,7 @@
* should be used when available.
*/
#ifndef USE_LARGE_FILES
-/*#define USE_LARGE_FILES / **/
+#define USE_LARGE_FILES /**/
#endif
/* USE_LONG_DOUBLE:
@@ -4540,6 +4540,19 @@
/*#define HAS_ENDSERVENT_R / **/
#define ENDSERVENT_R_PROTO 0 /**/
+/* GETENV_PRESERVES_OTHER_THREAD:
+ * This symbol, if defined, indicates that the getenv system call doesn't
+ * zap the static buffer of getenv() in a different thread.
+ *
+ * The typical getenv() implementation will return a pointer to the proper
+ * position in **environ. But some may instead copy them to a static
+ * buffer in getenv(). If there is a per-thread instance of that buffer,
+ * or the return points to **environ, then a many-reader/1-writer mutex
+ * will work; otherwise an exclusive locking mutex is required to prevent
+ * races.
+ */
+#define GETENV_PRESERVES_OTHER_THREAD /**/
+
/* HAS_GETGRENT_R:
* This symbol, if defined, indicates that the getgrent_r routine
* is available to getgrent re-entrantly.
@@ -5211,9 +5224,9 @@
/* Off_t_size:
* This symbol holds the number of bytes used by the Off_t.
*/
-#define Off_t long /* <offset> type */
-#define LSEEKSIZE 4 /* <offset> size */
-#define Off_t_size 4 /* <offset> size */
+#define Off_t __int64 /* <offset> type */
+#define LSEEKSIZE 8 /* <offset> size */
+#define Off_t_size 8 /* <offset> size */
/* Mode_t:
* This symbol holds the type used to declare file modes