Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntony Riakiotakis <kalast@gmail.com>2011-09-21 17:30:52 +0400
committerAntony Riakiotakis <kalast@gmail.com>2011-09-21 17:30:52 +0400
commitf56759bb208b989749ed3f578a7d8ef4faa394f1 (patch)
tree51efb045c8013df636604fb412482c03b4e75832
parent9d68dc0668000af35bd12510c328fc3a2e21fadb (diff)
Fix compilation for MinGW.
-rw-r--r--source/blender/blenfont/intern/blf_lang.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenfont/intern/blf_lang.c b/source/blender/blenfont/intern/blf_lang.c
index 8f745180b8b..c0163be4980 100644
--- a/source/blender/blenfont/intern/blf_lang.c
+++ b/source/blender/blenfont/intern/blf_lang.c
@@ -115,7 +115,7 @@ void BLF_lang_set(const char *str)
char *locreturn;
const char *short_locale;
int ok= 1;
-#if defined (_WIN32)
+#if defined (_WIN32) && !defined(FREE_WINDOWS)
char *long_locale = locales[ 2 * U.language];
#endif
@@ -127,7 +127,7 @@ void BLF_lang_set(const char *str)
else
short_locale = locales[ 2 * U.language + 1];
-#if defined (_WIN32)
+#if defined (_WIN32) && !defined(FREE_WINDOWS)
if(short_locale) {
char *envStr;