Fixed problem with DLL definitions on Windows; was getting unresolved symbols on Windows

This commit is contained in:
MarkRivers
2013-06-07 16:21:20 +00:00
parent 296d224533
commit a00c552055
+9 -5
View File
@@ -6,12 +6,16 @@
*************************************************/
#ifdef _WIN32
#ifndef DLL
#define DLL _declspec(dllimport)
#endif
#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
#define __stdcall
#define DLL
#define __stdcall
#endif
#ifdef __cplusplus
extern "C"