summaryrefslogtreecommitdiff
path: root/gcc/prefix.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/prefix.c')
-rw-r--r--gcc/prefix.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/prefix.c b/gcc/prefix.c
index ab199b5cf51..ceaf61b1e9f 100644
--- a/gcc/prefix.c
+++ b/gcc/prefix.c
@@ -124,6 +124,10 @@ save_string (const char *s, int len)
#if defined(_WIN32) && defined(ENABLE_WIN32_REGISTRY)
+#ifndef WIN32_REGISTRY_KEY
+# define WIN32_REGISTRY_KEY BASEVER
+#endif
+
/* Look up "key" in the registry, as above. */
static char *