add extern keyword to file scope variable definition for visual C++

depite the fact that their doc indicates that this is not required.
This commit is contained in:
Jeff Hill
2000-03-10 16:16:18 +00:00
parent 8f8b3b0b76
commit 64dceda8e3

View File

@@ -109,8 +109,13 @@
* (Those using either ... or va_list arguments)
*/
# define epicsShareAPIV __cdecl
/*
* visual C++ appears to require extern even
* in the variable/objects definition? This
* does not match their documentation.
*/
# if defined(EPICS_DLL_NO) /* this indicates that we are not building a DLL */
# define epicsShareDef
# define epicsShareDef extern
# else
# define epicsShareDef __declspec(dllexport) extern
# endif