~ubuntu-branches/ubuntu/trusty/liblas/trusty-proposed

« back to all changes in this revision

Viewing changes to include/liblas/capi/las_config.h

  • Committer: Package Import Robot
  • Author(s): Francesco Paolo Lovergine
  • Date: 2014-01-05 17:00:29 UTC
  • mfrom: (7.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20140105170029-ddtp0j63x5jvck2u
Tags: 1.7.0+dfsg-2
Fixed missing linking of system boost component.
(closes: #733282)

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
#  define LAS_C_END
56
56
#endif
57
57
 
58
 
#ifndef LAS_DLL
59
 
#if defined(_MSC_VER) && !defined(LAS_DISABLE_DLL)
60
 
#  define LAS_DLL     __declspec(dllexport)
61
 
#else
62
 
#  if defined(USE_GCC_VISIBILITY_FLAG)
63
 
#    define LAS_DLL     __attribute__ ((visibility("default")))
64
 
#  else
65
 
#    define LAS_DLL
66
 
#  endif
67
 
#endif
68
 
#endif
 
58
LAS_C_START
 
59
#include <liblas/export.hpp>
 
60
LAS_C_END
69
61
 
70
62
#ifndef NULL
71
63
#define NULL 0
84
76
#  define MAX(a,b)      ((a>b) ? a : b)
85
77
#endif
86
78
 
87
 
#ifdef _MSC_VER
88
 
#define strdup _strdup
 
79
#if defined(_MSC_VER) && \
 
80
    (_MSC_FULL_VER >= 150000000)
 
81
#define LASCopyString _strdup
 
82
#else
 
83
#define LASCopyString strdup
89
84
#endif
90
85
 
91
86
 
 
87
 
92
88
#endif /* LAS_CONFIG_H_INCLUDED */
93
89