aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-01-09 02:11:28 +0100
committerDavid Robillard <d@drobilla.net>2021-01-09 18:08:48 +0100
commitdc963989ba790e64a88a5255c2b9b7e3c1fbf828 (patch)
treef8debfebc717948390b9a37f317996bd36efd0a8
parent0ed324754b1db561c8f05072ff9300f0be5e1a3a (diff)
downloadserd-dc963989ba790e64a88a5255c2b9b7e3c1fbf828.tar.gz
serd-dc963989ba790e64a88a5255c2b9b7e3c1fbf828.tar.bz2
serd-dc963989ba790e64a88a5255c2b9b7e3c1fbf828.zip
Fix fallback aligned_alloc() detection
-rw-r--r--src/serd_config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/serd_config.h b/src/serd_config.h
index eaf2c210..0cb83b2f 100644
--- a/src/serd_config.h
+++ b/src/serd_config.h
@@ -49,7 +49,7 @@
# if !defined(__APPLE__) && !defined(_WIN32)
# if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
# define HAVE_ALIGNED_ALLOC
-# elif defined(__cplusplus) && __cplusplus >= 201103L)
+# elif defined(__cplusplus) && __cplusplus >= 201103L
# define HAVE_ALIGNED_ALLOC
# endif
# endif