From: <ai...@us...> - 2008-10-08 17:59:45
|
Revision: 8864 http://plplot.svn.sourceforge.net/plplot/?rev=8864&view=rev Author: airwin Date: 2008-10-08 17:59:43 +0000 (Wed, 08 Oct 2008) Log Message: ----------- For the case when neither MAKING<NAME>DLL nor USING<NAME>DLL are #defined (which happens for static library builds) then #define all of MAKING<NAME>DLL, USING<NAME>DLL, <NAME>DLLEXPORT and <NAME>DLLIMPORT to nothing to enforce necessary consistency between all those macro definitions. Modified Paths: -------------- trunk/include/pldll.h trunk/lib/csa/csadll.h trunk/lib/nn/nndll.h Modified: trunk/include/pldll.h =================================================================== --- trunk/include/pldll.h 2008-10-08 17:20:48 UTC (rev 8863) +++ trunk/include/pldll.h 2008-10-08 17:59:43 UTC (rev 8864) @@ -39,6 +39,9 @@ #else #define PLDLLIMPEXP #define PLDLLIMPEXP_DATA(type) type + /* Enforce consistency for this case. */ + #define PLDLLEXPORT + #define PLDLLIMPORT #endif #endif /* __PL_DLL_H */ Modified: trunk/lib/csa/csadll.h =================================================================== --- trunk/lib/csa/csadll.h 2008-10-08 17:20:48 UTC (rev 8863) +++ trunk/lib/csa/csadll.h 2008-10-08 17:59:43 UTC (rev 8864) @@ -39,6 +39,9 @@ #else #define CSADLLIMPEXP #define CSADLLIMPEXP_DATA(type) type + /* Enforce consistency for this case. */ + #define CSADLLEXPORT + #define CSADLLIMPORT #endif #endif /* __CSA_DLL_H */ Modified: trunk/lib/nn/nndll.h =================================================================== --- trunk/lib/nn/nndll.h 2008-10-08 17:20:48 UTC (rev 8863) +++ trunk/lib/nn/nndll.h 2008-10-08 17:59:43 UTC (rev 8864) @@ -39,6 +39,9 @@ #else #define NNDLLIMPEXP #define NNDLLIMPEXP_DATA(type) type + /* Enforce consistency for this case. */ + #define NNDLLEXPORT + #define NNDLLIMPORT #endif #endif /* __NN_DLL_H */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |