summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorSteve Hay <steve.m.hay@googlemail.com>2014-09-17 14:08:47 +0100
committerSteve Hay <steve.m.hay@googlemail.com>2014-09-17 14:08:47 +0100
commita231c375ccd5dd4ecbc8d5eed207feb86679d7fa (patch)
tree4049f5daf1038d176d2881afa5bd5bb657c0b846 /win32
parent9a713db778de755169dbb9e4c32865eb2932ad0b (diff)
downloadperl-a231c375ccd5dd4ecbc8d5eed207feb86679d7fa.tar.gz
Define PERL_PRI[efg]ldbl and PERL_SCNfldbl in Win32 canned config files
Without PERL_PRIgldbl, the gcc build on Win32 is completely broken, stopping at sv.c in the miniperl build since 61cd60c6c5 added a use of PERL_PRIgldbl in its new FV_GF.
Diffstat (limited to 'win32')
-rw-r--r--win32/config.gc8
-rw-r--r--win32/config.vc8
-rw-r--r--win32/config_H.gc8
-rw-r--r--win32/config_H.vc8
4 files changed, 16 insertions, 16 deletions
diff --git a/win32/config.gc b/win32/config.gc
index 6d7b9d31d8..f462f97bf6 100644
--- a/win32/config.gc
+++ b/win32/config.gc
@@ -82,14 +82,14 @@ d_PRIFUldbl='undef'
d_PRIGUldbl='undef'
d_PRIXU64='undef'
d_PRId64='undef'
-d_PRIeldbl='undef'
-d_PRIfldbl='undef'
-d_PRIgldbl='undef'
+d_PRIeldbl='define'
+d_PRIfldbl='define'
+d_PRIgldbl='define'
d_PRIi64='undef'
d_PRIo64='undef'
d_PRIu64='undef'
d_PRIx64='undef'
-d_SCNfldbl='undef'
+d_SCNfldbl='define'
d__fwalk='undef'
d_access='define'
d_accessx='undef'
diff --git a/win32/config.vc b/win32/config.vc
index 0c0d82997d..a84bf68b43 100644
--- a/win32/config.vc
+++ b/win32/config.vc
@@ -82,14 +82,14 @@ d_PRIFUldbl='undef'
d_PRIGUldbl='undef'
d_PRIXU64='undef'
d_PRId64='undef'
-d_PRIeldbl='undef'
-d_PRIfldbl='undef'
-d_PRIgldbl='undef'
+d_PRIeldbl='define'
+d_PRIfldbl='define'
+d_PRIgldbl='define'
d_PRIi64='undef'
d_PRIo64='undef'
d_PRIu64='undef'
d_PRIx64='undef'
-d_SCNfldbl='undef'
+d_SCNfldbl='define'
d__fwalk='undef'
d_access='define'
d_accessx='undef'
diff --git a/win32/config_H.gc b/win32/config_H.gc
index 228bee33e0..9de1c83f5b 100644
--- a/win32/config_H.gc
+++ b/win32/config_H.gc
@@ -4367,10 +4367,10 @@
* This symbol, if defined, contains the string used by stdio to
* format long doubles (format 'f') for input.
*/
-/*#define PERL_PRIfldbl "f" / **/
-/*#define PERL_PRIgldbl "g" / **/
-/*#define PERL_PRIeldbl "e" / **/
-/*#define PERL_SCNfldbl "f" / **/
+#define PERL_PRIfldbl "f" /**/
+#define PERL_PRIgldbl "g" /**/
+#define PERL_PRIeldbl "e" /**/
+#define PERL_SCNfldbl "f" /**/
/* NEED_VA_COPY:
* This symbol, if defined, indicates that the system stores
diff --git a/win32/config_H.vc b/win32/config_H.vc
index ba61fe86f5..05518e1636 100644
--- a/win32/config_H.vc
+++ b/win32/config_H.vc
@@ -4494,10 +4494,10 @@
* This symbol, if defined, contains the string used by stdio to
* format long doubles (format 'f') for input.
*/
-/*#define PERL_PRIfldbl "f" / **/
-/*#define PERL_PRIgldbl "g" / **/
-/*#define PERL_PRIeldbl "e" / **/
-/*#define PERL_SCNfldbl "f" / **/
+#define PERL_PRIfldbl "f" /**/
+#define PERL_PRIgldbl "g" /**/
+#define PERL_PRIeldbl "e" /**/
+#define PERL_SCNfldbl "f" /**/
/* NEED_VA_COPY:
* This symbol, if defined, indicates that the system stores