summaryrefslogtreecommitdiff
path: root/src/mongo/platform/compiler_gcc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/platform/compiler_gcc.h')
-rw-r--r--src/mongo/platform/compiler_gcc.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/platform/compiler_gcc.h b/src/mongo/platform/compiler_gcc.h
index 431465893c9..46579eab963 100644
--- a/src/mongo/platform/compiler_gcc.h
+++ b/src/mongo/platform/compiler_gcc.h
@@ -38,9 +38,9 @@
#define MONGO_COMPILER_VARIABLE_UNUSED __attribute__((__unused__))
-#define MONGO_COMPILER_ALIGN_TYPE(ALIGNMENT) __attribute__(( __aligned__(ALIGNMENT) ))
+#define MONGO_COMPILER_ALIGN_TYPE(ALIGNMENT) __attribute__((__aligned__(ALIGNMENT)))
-#define MONGO_COMPILER_ALIGN_VARIABLE(ALIGNMENT) __attribute__(( __aligned__(ALIGNMENT) ))
+#define MONGO_COMPILER_ALIGN_VARIABLE(ALIGNMENT) __attribute__((__aligned__(ALIGNMENT)))
// NOTE(schwerin): These visibility and calling-convention macro definitions assume we're not using
// GCC/CLANG to target native Windows. If/when we decide to do such targeting, we'll need to change
@@ -58,7 +58,7 @@
// #endif
// #else ... fall through to the definitions below.
-#define MONGO_COMPILER_API_EXPORT __attribute__(( __visibility__("default") ))
+#define MONGO_COMPILER_API_EXPORT __attribute__((__visibility__("default")))
#define MONGO_COMPILER_API_IMPORT
#define MONGO_COMPILER_API_CALLING_CONVENTION