[Liblas-commits] hg: explicitly undef LAS_DLL if the user hasn't
defined LAS_DLL_...
liblas-commits at liblas.org
liblas-commits at liblas.org
Mon Jan 10 11:40:23 EST 2011
details: http://hg.liblas.orghg/rev/8abf523b5a74
changeset: 2715:8abf523b5a74
user: Howard Butler <hobu.inc at gmail.com>
date: Mon Jan 10 10:40:13 2011 -0600
description:
explicitly undef LAS_DLL if the user hasn't defined LAS_DLL_{IMPORT|EXPORT} and _MSC_VER is defined
diffstat:
include/liblas/export.hpp | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (12 lines):
diff -r 20eb298ee542 -r 8abf523b5a74 include/liblas/export.hpp
--- a/include/liblas/export.hpp Mon Jan 10 09:55:30 2011 -0600
+++ b/include/liblas/export.hpp Mon Jan 10 10:40:13 2011 -0600
@@ -48,6 +48,8 @@
# define LAS_DLL __declspec(dllexport)
#elif defined(LAS_DLL_IMPORT)
# define LAS_DLL __declspec(dllimport)
+#else
+# define LAS_DLL
#endif
#else
# if defined(USE_GCC_VISIBILITY_FLAG)
More information about the Liblas-commits
mailing list