summaryrefslogtreecommitdiff
path: root/sigc++config.h.in
diff options
context:
space:
mode:
authorMurray Cumming <murrayc@murrayc.com>2020-06-30 11:50:36 +0200
committerMurray Cumming <murrayc@murrayc.com>2021-01-24 11:05:36 +0100
commitc658a66c318c1f6702cb45abaebb4a64eeaba8cd (patch)
tree926297f9ba4c193df8eaa13444971ad1e16a5c84 /sigc++config.h.in
parent8aea9374d2c8b4dd2b7f0421328f9d0264bf8a4c (diff)
downloadsigc++-c658a66c318c1f6702cb45abaebb4a64eeaba8cd.tar.gz
sigc++config.h.* Format with clang-format (clang-format-10)
So the generated sigc++config.h will have the correct formatting.
Diffstat (limited to 'sigc++config.h.in')
-rw-r--r--sigc++config.h.in46
1 files changed, 23 insertions, 23 deletions
diff --git a/sigc++config.h.in b/sigc++config.h.in
index 8d82457..a82a86b 100644
--- a/sigc++config.h.in
+++ b/sigc++config.h.in
@@ -13,20 +13,20 @@
/* Detect Win32 platform */
#ifdef _WIN32
-# if defined(_MSC_VER)
-# define SIGC_MSC 1
-# define SIGC_WIN32 1
-# define SIGC_DLL 1
-# elif defined(__CYGWIN__)
-# define SIGC_CONFIGURE 1
-# elif defined(__MINGW32__)
-# define SIGC_WIN32 1
-# define SIGC_CONFIGURE 1
-# else
-# error "libsigc++ config: Unknown win32 architecture (send me gcc --dumpspecs or equiv)"
-# endif
+#if defined(_MSC_VER)
+#define SIGC_MSC 1
+#define SIGC_WIN32 1
+#define SIGC_DLL 1
+#elif defined(__CYGWIN__)
+#define SIGC_CONFIGURE 1
+#elif defined(__MINGW32__)
+#define SIGC_WIN32 1
+#define SIGC_CONFIGURE 1
+#else
+#error "libsigc++ config: Unknown win32 architecture (send me gcc --dumpspecs or equiv)"
+#endif
#else /* !_WIN32 */
-# define SIGC_CONFIGURE 1
+#define SIGC_CONFIGURE 1
#endif /* !_WIN32 */
#ifdef SIGC_MSC
@@ -42,9 +42,9 @@
* seems to have no adverse effects, so that seems like a good enough
* solution for now.
*/
-# pragma warning(disable:4251)
+#pragma warning(disable : 4251)
-#if (_MSC_VER < 1900) && !defined (noexcept)
+#if (_MSC_VER < 1900) && !defined(noexcept)
#define _ALLOW_KEYWORD_MACROS 1
#define noexcept _NOEXCEPT
#endif
@@ -54,13 +54,13 @@
#endif /* !SIGC_MSC */
#ifdef SIGC_DLL
-# if defined(SIGC_BUILD) && defined(_WINDLL)
-# define SIGC_API __declspec(dllexport)
-# elif !defined(SIGC_BUILD)
-# define SIGC_API __declspec(dllimport)
-# else
-# define SIGC_API
-# endif
+#if defined(SIGC_BUILD) && defined(_WINDLL)
+#define SIGC_API __declspec(dllexport)
+#elif !defined(SIGC_BUILD)
+#define SIGC_API __declspec(dllimport)
+#else
+#define SIGC_API
+#endif
#else /* !SIGC_DLL */
-# define SIGC_API
+#define SIGC_API
#endif /* !SIGC_DLL */