From: mpv Date: Fri, 7 Jul 2006 11:30:36 +0000 (+0000) Subject: Windows porting X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8cbebe5a4c19f649298aaddbb1163cb298cdc562;p=modules%2Fkernel.git Windows porting --- diff --git a/src/Basics/BasicsGenericDestructor.hxx b/src/Basics/BasicsGenericDestructor.hxx index a5d934dd8..abb139b1d 100644 --- a/src/Basics/BasicsGenericDestructor.hxx +++ b/src/Basics/BasicsGenericDestructor.hxx @@ -82,11 +82,11 @@ class PROTECTED_DELETE { public: - static void deleteInstance(PROTECTED_DELETE *anObject); - static void addObj(PROTECTED_DELETE *anObject); + BASICS_EXPORT static void deleteInstance(PROTECTED_DELETE *anObject); + BASICS_EXPORT static void addObj(PROTECTED_DELETE *anObject); protected: - virtual ~PROTECTED_DELETE(); + BASICS_EXPORT virtual ~PROTECTED_DELETE(); static std::list _objList; private: diff --git a/src/HDFPersist/HDFascii.cc b/src/HDFPersist/HDFascii.cc index 1e0ee9f80..babdce165 100644 --- a/src/HDFPersist/HDFascii.cc +++ b/src/HDFPersist/HDFascii.cc @@ -319,7 +319,7 @@ void SaveDatasetInASCIIfile(HDFdataset *hdf_dataset, FILE* fp, int ident) #ifndef WNT for(unsigned j=0; jGetAttributeName(j); HDFattribute *hdf_attribute = new HDFattribute(name, hdf_dataset); diff --git a/src/SALOMELocalTrace/LocalTraceBufferPool.cxx b/src/SALOMELocalTrace/LocalTraceBufferPool.cxx index a6ffdb3c0..9eb18f043 100644 --- a/src/SALOMELocalTrace/LocalTraceBufferPool.cxx +++ b/src/SALOMELocalTrace/LocalTraceBufferPool.cxx @@ -31,6 +31,9 @@ #ifndef WNT #include #else +#include "../../adm_local/win32/SALOME_WNT.hxx" +#include +#include #endif //#define _DEVDEBUG_