Change logic for definition of DLL so that it works if application is being statically built

This commit is contained in:
MarkRivers
2007-05-01 22:20:29 +00:00
parent c26c0b8c35
commit e334c7242d
2 changed files with 9 additions and 1 deletions
+5 -1
View File
@@ -9,7 +9,11 @@
#include "Socket.h"
#ifdef _WIN32
#define DLL _declspec(dllexport)
#ifdef _DLL /* _DLL is defined by EPICS if we are being compiled to call DLLs */
#define DLL _declspec(dllexport)
#else
#define DLL
#endif
#else
#define DLL
#endif
+4
View File
@@ -5,7 +5,11 @@
#ifdef _WIN32
#ifndef DLL
#ifdef _DLL /* _DLL is defined by EPICS if we are being compiled to call DLLs */
#define DLL _declspec(dllimport)
#else
#define DLL
#endif
#endif
#else
#define DLL