about summary refs log tree commit diff
path: root/src/libnm-platform/nmp-plobj.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libnm-platform/nmp-plobj.h')
-rw-r--r--src/libnm-platform/nmp-plobj.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libnm-platform/nmp-plobj.h b/src/libnm-platform/nmp-plobj.h
index 35c81509..ad18573f 100644
--- a/src/libnm-platform/nmp-plobj.h
+++ b/src/libnm-platform/nmp-plobj.h
@@ -17,7 +17,7 @@
  * also "packed" is specified. That's what we want.
  * https://gcc.gnu.org/onlinedocs/gcc/Common-Type-Attributes.html#Common-Type-Attributes.
  */
-#define _NMPlatformObject_Align (MAX(_nm_alignof(void *), _nm_alignof(gint64)))
+#define _NMPlatformObject_Align (NM_MAX_CONST(_nm_alignof(void *), _nm_alignof(gint64)))
 
 struct _NMPlatformObject {
     /* the object type has no fields of its own, it is only used to having