visual C++ requires extern with defs

This commit is contained in:
Jeff Hill
1999-11-18 20:57:09 +00:00
parent cb0edb09ca
commit b88f58a9df
2 changed files with 2 additions and 4 deletions

View File

@@ -112,8 +112,7 @@
# if defined(EPICS_DLL_NO) /* this indicates that we are not building a DLL */
# define epicsShareDef
# else
/* extern here is incompatible with visual C++ */
# define epicsShareDef __declspec(dllexport)
# define epicsShareDef __declspec(dllexport) extern
# endif
# define READONLY const
/*

View File

@@ -112,8 +112,7 @@
# if defined(EPICS_DLL_NO) /* this indicates that we are not building a DLL */
# define epicsShareDef
# else
/* extern here is incompatible with visual C++ */
# define epicsShareDef __declspec(dllexport)
# define epicsShareDef __declspec(dllexport) extern
# endif
# define READONLY const
/*