visual C++ requires extern with defs

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

No files matched your search

+1 -2
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
/*
+1 -2
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
/*