|
From: <sm...@us...> - 2009-03-19 12:07:42
|
Revision: 9755
http://plplot.svn.sourceforge.net/plplot/?rev=9755&view=rev
Author: smekal
Date: 2009-03-19 12:07:35 +0000 (Thu, 19 Mar 2009)
Log Message:
-----------
Changes in pldll.h to correctly export symbols from qt driver.
Simplify definition of PLINT_MIN for MSVC compiler.
Modified Paths:
--------------
trunk/include/pldll.h
trunk/include/plplot.h
Modified: trunk/include/pldll.h
===================================================================
--- trunk/include/pldll.h 2009-03-19 12:05:34 UTC (rev 9754)
+++ trunk/include/pldll.h 2009-03-19 12:07:35 UTC (rev 9755)
@@ -55,7 +55,7 @@
defined(pstex_EXPORTS) || defined(psttf_EXPORTS) || defined(svg_EXPORTS) || \
defined(tek_EXPORTS) || defined(tk_EXPORTS) || defined(tkwin_EXPORTS) || \
defined(wingcc_EXPORTS) || defined(wxwidgets_EXPORTS) || defined(xfig_EXPORTS) || \
- defined(xwin_EXPORTS)
+ defined(xwin_EXPORTS) || defined(qt_EXPORTS)
#define PLDLLIMPEXP_DRIVER PLDLLEXPORT
#define PLDLLIMPEXP_DRIVER_DATA(type) PLDLLEXPORT type
#else
Modified: trunk/include/plplot.h
===================================================================
--- trunk/include/plplot.h 2009-03-19 12:05:34 UTC (rev 9754)
+++ trunk/include/plplot.h 2009-03-19 12:07:35 UTC (rev 9755)
@@ -171,13 +171,9 @@
PLINT_MIN is unsigned and 2147483648 NOT -2147483648, see
http://msdn.microsoft.com/en-us/library/4kh09110(VS.71).aspx for
details */
-#ifdef _MSC_VER
- #if _MSC_VER>1309
- #include <Limits.h>
- #define PLINT_MIN INT_MIN
- #else
- #define PLINT_MIN -2147483648
- #endif
+#if defined(_MSC_VER) && _MSC_VER >= 1310
+ #include <Limits.h>
+ #define PLINT_MIN INT_MIN
#else
#define PLINT_MIN -2147483648
#endif
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|