//
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#ifdef WNT
+#ifdef WIN32
#pragma warning( disable:4786 )
#endif
#include <set>
#include <sstream>
-#ifdef WNT
+#ifdef WIN32
#include <windows.h>
#include <process.h>
#else
#include <dlfcn.h>
#endif
-#ifdef WNT
+#ifdef WIN32
#define LibHandle HMODULE
#define LoadLib( name ) LoadLibrary( name )
#define GetProc GetProcAddress
// OCCT BUG: cannot save a document (in current folder)
// if directory name is empty
if (aTmpDir.size() == 0) {
-#ifdef WNT
+#ifdef WIN32
aTmpDir = ".\\";
#else
aTmpDir = "./";
// OCCT BUG: cannot load a document (from current folder)
// if directory name is empty
if (aTmpDir.size() == 0) {
-#ifdef WNT
+#ifdef WIN32
aTmpDir = ".\\";
#else
aTmpDir = "./";
throw ( SALOME::SALOME_Exception )
{
std::string aPlatformLibName;
-#ifdef WNT
+#ifdef WIN32
aPlatformLibName = theLibName;
aPlatformLibName += ".dll" ;
#else
LibHandle libHandle = LoadLib( aPlatformLibName.c_str()/*theLibName*/ );
if (!libHandle) {
// report any error, if occured
-#ifndef WNT
+#ifndef WIN32
const char* anError = dlerror();
throw(SALOME_Exception(anError));
#else