summaryrefslogtreecommitdiffstats
path: root/Source/cmakemain.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-02-06 18:35:21 (GMT)
committerBrad King <brad.king@kitware.com>2015-02-06 18:35:21 (GMT)
commit0f870234febd9dba0df78e903b412ea19d681062 (patch)
tree05f5d59ee7ddb4e991c50fbe9a6b8ef3484d92fc /Source/cmakemain.cxx
parent78c4418fa0a08b63a944ac66821e8bd95fdd73e0 (diff)
parentcd408d93fdf347ff63a8062f75f1f4ee3e898b17 (diff)
downloadCMake-0f870234febd9dba0df78e903b412ea19d681062.zip
CMake-0f870234febd9dba0df78e903b412ea19d681062.tar.gz
CMake-0f870234febd9dba0df78e903b412ea19d681062.tar.bz2
Merge branch 'backport-no-global-setlocale' into no-global-setlocale
Resolve conflict in Source/CMakeLists.txt by taking both changes.
Diffstat (limited to 'Source/cmakemain.cxx')
-rw-r--r--Source/cmakemain.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/Source/cmakemain.cxx b/Source/cmakemain.cxx
index 6d25b70..e0bd55b 100644
--- a/Source/cmakemain.cxx
+++ b/Source/cmakemain.cxx
@@ -25,7 +25,6 @@
#include "cmLocalGenerator.h"
#include "cmMakefile.h"
#include <cmsys/Encoding.hxx>
-#include <locale.h>
#ifdef CMAKE_BUILD_WITH_CMAKE
//----------------------------------------------------------------------------
@@ -173,7 +172,6 @@ static void cmakemainProgressCallback(const char *m, float prog,
int main(int ac, char const* const* av)
{
- setlocale(LC_CTYPE, "");
cmsys::Encoding::CommandLineArguments args =
cmsys::Encoding::CommandLineArguments::Main(ac, av);
ac = args.argc();