From e02954eed2b8e72ed9d5339b55f92dd325ef2efa Mon Sep 17 00:00:00 2001 From: vsr Date: Tue, 15 May 2007 13:52:06 +0000 Subject: [PATCH] Porting to Qt4 --- src/STD/STD.h | 16 ++++++---------- src/STD/STD.pro | 2 +- 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/src/STD/STD.h b/src/STD/STD.h index 404cf9adf..e974b5255 100755 --- a/src/STD/STD.h +++ b/src/STD/STD.h @@ -19,18 +19,14 @@ #ifndef STD_H #define STD_H -#if defined STD_EXPORTS #if defined WIN32 -#define STD_EXPORT __declspec( dllexport ) +# if defined STD_EXPORTS +# define STD_EXPORT __declspec( dllexport ) +# else +# define STD_EXPORT __declspec( dllimport ) +# endif #else -#define STD_EXPORT -#endif -#else -#if defined WIN32 -#define STD_EXPORT __declspec( dllimport ) -#else -#define STD_EXPORT -#endif +# define STD_EXPORT #endif #if defined SOLARIS diff --git a/src/STD/STD.pro b/src/STD/STD.pro index d8a1e8a48..31b4901f1 100644 --- a/src/STD/STD.pro +++ b/src/STD/STD.pro @@ -19,7 +19,7 @@ HEADERS += STD_CloseDlg.h HEADERS += STD_MDIDesktop.h HEADERS += STD_SDIDesktop.h HEADERS += STD_TabDesktop.h -#SOURCES += STD_LoadStudiesDlg.h +#HEADERS += STD_LoadStudiesDlg.h SOURCES = STD_Application.cxx SOURCES += STD_CloseDlg.cxx -- 2.39.2