From 8cbebe5a4c19f649298aaddbb1163cb298cdc562 Mon Sep 17 00:00:00 2001 From: mpv Date: Fri, 7 Jul 2006 11:30:36 +0000 Subject: [PATCH] Windows porting --- src/Basics/BasicsGenericDestructor.hxx | 6 +++--- src/HDFPersist/HDFascii.cc | 2 +- src/SALOMELocalTrace/LocalTraceBufferPool.cxx | 3 +++ 3 files changed, 7 insertions(+), 4 deletions(-) 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_ -- 2.39.2