aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2021-11-03 00:21:43 +0100
committerEven Rouault <even.rouault@spatialys.com>2021-11-03 00:21:43 +0100
commit13648e8e820fb8918740d62b56beb17693d1e75e (patch)
tree6395d95e2c139c3093590ade3ab336a2fa8c368c /include
parente246e6e2f7e0b6604a618557bb3fc50ccf424d60 (diff)
downloadPROJ-13648e8e820fb8918740d62b56beb17693d1e75e.tar.gz
PROJ-13648e8e820fb8918740d62b56beb17693d1e75e.zip
util.hpp: reformat
Diffstat (limited to 'include')
-rw-r--r--include/proj/util.hpp58
1 files changed, 29 insertions, 29 deletions
diff --git a/include/proj/util.hpp b/include/proj/util.hpp
index 3f5e208e..97be4c16 100644
--- a/include/proj/util.hpp
+++ b/include/proj/util.hpp
@@ -50,38 +50,38 @@ namespace proj {}
//! @cond Doxygen_Suppress
#ifndef PROJ_DLL
-# if defined(_MSC_VER)
-# ifdef PROJ_MSVC_DLL_EXPORT
-# define PROJ_DLL __declspec(dllexport)
-# else
-# define PROJ_DLL __declspec(dllimport)
-# endif
-# elif defined(__GNUC__)
-# define PROJ_DLL __attribute__ ((visibility("default")))
-# else
-# define PROJ_DLL
-# endif
+#if defined(_MSC_VER)
+#ifdef PROJ_MSVC_DLL_EXPORT
+#define PROJ_DLL __declspec(dllexport)
+#else
+#define PROJ_DLL __declspec(dllimport)
+#endif
+#elif defined(__GNUC__)
+#define PROJ_DLL __attribute__((visibility("default")))
+#else
+#define PROJ_DLL
+#endif
#endif
#ifndef PROJ_MSVC_DLL
-# if defined(_MSC_VER)
-# define PROJ_MSVC_DLL PROJ_DLL
-# define PROJ_GCC_DLL
-# define PROJ_INTERNAL
-# elif defined(__GNUC__)
-# define PROJ_MSVC_DLL
-# define PROJ_GCC_DLL PROJ_DLL
-# if !defined(__MINGW32__)
-# define PROJ_INTERNAL __attribute__((visibility("hidden")))
-# else
-# define PROJ_INTERNAL
-# endif
-# else
-# define PROJ_MSVC_DLL
-# define PROJ_GCC_DLL
-# define PROJ_INTERNAL
-# endif
-# define PROJ_FOR_TEST PROJ_DLL
+#if defined(_MSC_VER)
+#define PROJ_MSVC_DLL PROJ_DLL
+#define PROJ_GCC_DLL
+#define PROJ_INTERNAL
+#elif defined(__GNUC__)
+#define PROJ_MSVC_DLL
+#define PROJ_GCC_DLL PROJ_DLL
+#if !defined(__MINGW32__)
+#define PROJ_INTERNAL __attribute__((visibility("hidden")))
+#else
+#define PROJ_INTERNAL
+#endif
+#else
+#define PROJ_MSVC_DLL
+#define PROJ_GCC_DLL
+#define PROJ_INTERNAL
+#endif
+#define PROJ_FOR_TEST PROJ_DLL
#endif
#include "nn.hpp"