summaryrefslogtreecommitdiff
path: root/src/runtime/c/gu/variant.h
diff options
context:
space:
mode:
authorkrasimir <krasimir@chalmers.se>2017-04-13 11:06:24 +0000
committerkrasimir <krasimir@chalmers.se>2017-04-13 11:06:24 +0000
commita657e9947bbad98e95c65488003cdca2c8c2c625 (patch)
treebb63542e6cb8e03450f6ec033d2a0141f0c17bb1 /src/runtime/c/gu/variant.h
parent7963c8536799c6b4cbeab4ebd106d88bf7185977 (diff)
use GU_API_DATA_DECL instead of GU_API_DATA to make the C runtime compile again on MacOS
Diffstat (limited to 'src/runtime/c/gu/variant.h')
-rw-r--r--src/runtime/c/gu/variant.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/c/gu/variant.h b/src/runtime/c/gu/variant.h
index 8e7741694..ec057faa4 100644
--- a/src/runtime/c/gu/variant.h
+++ b/src/runtime/c/gu/variant.h
@@ -97,7 +97,7 @@ gu_variant_from_ptr(const void* p)
return (uintptr_t) p;
}
-GU_API_DATA const GuVariant gu_null_variant;
+GU_API_DATA_DECL const GuVariant gu_null_variant;
static inline bool
gu_variant_is_null(GuVariant v) {