[Liblas-commits] laszip: turn off LASZIP_DLL entirely if we haven't asked for it

liblas-commits at liblas.org liblas-commits at liblas.org
Fri Jan 21 13:14:40 EST 2011


details:   http://hg.liblas.orglaszip/rev/8dc4272c22b5
changeset: 156:8dc4272c22b5
user:      Howard Butler <hobu.inc at gmail.com>
date:      Fri Jan 21 12:14:33 2011 -0600
description:
turn off LASZIP_DLL entirely if we haven't asked for it

diffstat:

 include/laszip/laszipexport.hpp |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff -r add10a4a0fe4 -r 8dc4272c22b5 include/laszip/laszipexport.hpp
--- a/include/laszip/laszipexport.hpp	Mon Jan 17 12:08:54 2011 -0600
+++ b/include/laszip/laszipexport.hpp	Fri Jan 21 12:14:33 2011 -0600
@@ -9,6 +9,8 @@
     #   define LASZIP_DLL   __declspec(dllexport)
     #elif defined(LASZIP_DLL_IMPORT)
     #   define LASZIP_DLL   __declspec(dllimport)
+    #else
+    #   define LASZIP_DLL
     #endif
 #else
     #  if defined(USE_GCC_VISIBILITY_FLAG)


More information about the Liblas-commits mailing list