forked from epics_driver_modules/motorBase
Fixed problem with DLL definitions on Windows; was getting unresolved symbols on Windows
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user