From 64a8717b83ab99a0d19484edf86eb87fa7c8019f Mon Sep 17 00:00:00 2001 From: MarkRivers Date: Mon, 18 Oct 2010 21:48:08 +0000 Subject: [PATCH] Add epicsShareExtern and shareLib.h for win32 DLL compatibility. --- motorApp/MotorSrc/paramLib.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/motorApp/MotorSrc/paramLib.h b/motorApp/MotorSrc/paramLib.h index b5f1ad5b..e965a9ed 100644 --- a/motorApp/MotorSrc/paramLib.h +++ b/motorApp/MotorSrc/paramLib.h @@ -5,6 +5,8 @@ extern "C" { #endif +#include + #define PARAM_OK (0) #define PARAM_ERROR (-1) @@ -26,7 +28,7 @@ typedef struct void (*forceCallback)( PARAMS params ); } paramSupport; -extern paramSupport * motorParam; +epicsShareExtern paramSupport * motorParam; #ifdef __cplusplus }