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

github.com/kornelski/7z.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'CPP/Common/MyString.cpp')
-rwxr-xr-xCPP/Common/MyString.cpp12
1 files changed, 7 insertions, 5 deletions
diff --git a/CPP/Common/MyString.cpp b/CPP/Common/MyString.cpp
index 41c0c95d..2c02e822 100755
--- a/CPP/Common/MyString.cpp
+++ b/CPP/Common/MyString.cpp
@@ -2,12 +2,14 @@
#include "StdAfx.h"
-#ifdef _WIN32
-#include "StringConvert.h"
-#else
+#ifndef _WIN32
#include <ctype.h>
#endif
+#ifndef _UNICODE
+#include "StringConvert.h"
+#endif
+
#include "MyString.h"
@@ -190,9 +192,9 @@ int MyStringCompareNoCase(const wchar_t *s1, const wchar_t *s2)
}
}
-#ifdef _WIN32
+/*
int MyStringCompareNoCase(const char *s1, const char *s2)
{
return MyStringCompareNoCase(MultiByteToUnicodeString(s1), MultiByteToUnicodeString(s2));
}
-#endif
+*/