summaryrefslogtreecommitdiffstats
path: root/generic/tclPkgConfig.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-10-16 16:34:29 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-10-16 16:34:29 (GMT)
commit9503c006cc6322926e5aada4c06aba0863055e4b (patch)
tree3f53c1ce09eafbf423daf7c2547dc9915f3ea91c /generic/tclPkgConfig.c
parentb4b10c147171d59a09bb3f64a88c561fae146112 (diff)
parent81060c07412ccbaaedbf1a76cd7291b26416a024 (diff)
downloadtcl-9503c006cc6322926e5aada4c06aba0863055e4b.zip
tcl-9503c006cc6322926e5aada4c06aba0863055e4b.tar.gz
tcl-9503c006cc6322926e5aada4c06aba0863055e4b.tar.bz2
Merge 8.7
Diffstat (limited to 'generic/tclPkgConfig.c')
-rw-r--r--generic/tclPkgConfig.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/generic/tclPkgConfig.c b/generic/tclPkgConfig.c
index 7383779..6bf63a2 100644
--- a/generic/tclPkgConfig.c
+++ b/generic/tclPkgConfig.c
@@ -35,6 +35,14 @@
#include "tclInt.h"
+#ifndef TCL_CFGVAL_ENCODING
+# ifdef _WIN32
+# define TCL_CFGVAL_ENCODING "cp1252"
+# else
+# define TCL_CFGVAL_ENCODING "iso8859-1"
+# endif
+#endif
+
/*
* Use C preprocessor statements to define the various values for the embedded
* configuration information.