From a549762d4c287c016d1f5b23c40f30ec15dc1721 Mon Sep 17 00:00:00 2001 From: vsr Date: Wed, 29 Jul 2009 14:52:00 +0000 Subject: [PATCH] Fix compilation pb on Windows --- src/SALOMEDSImpl/SALOMEDSImpl_StudyManager.cxx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/SALOMEDSImpl/SALOMEDSImpl_StudyManager.cxx b/src/SALOMEDSImpl/SALOMEDSImpl_StudyManager.cxx index 51a3f5189..69376ec3b 100644 --- a/src/SALOMEDSImpl/SALOMEDSImpl_StudyManager.cxx +++ b/src/SALOMEDSImpl/SALOMEDSImpl_StudyManager.cxx @@ -44,6 +44,11 @@ #include #endif +//Warning undef of Ascii Winwows define +#ifdef WIN32 +# undef GetUserName +#endif + using namespace std; #define USE_CASE_LABEL_ID "0:2" -- 2.39.2