aboutsummaryrefslogtreecommitdiffstats
path: root/src/attributes.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-07-11 20:47:51 -0400
committerDavid Robillard <d@drobilla.net>2022-01-13 23:03:46 -0500
commit71c950bb749c3581ab389edfff9771cb06242e29 (patch)
treea1437913131978133e48b21078d900859ce30c43 /src/attributes.h
parent30f3e6fc2c1e24c429d5d0b7100dc449ade6703f (diff)
downloadserd-71c950bb749c3581ab389edfff9771cb06242e29.tar.gz
serd-71c950bb749c3581ab389edfff9771cb06242e29.tar.bz2
serd-71c950bb749c3581ab389edfff9771cb06242e29.zip
Add SerdWorld for shared library state
Diffstat (limited to 'src/attributes.h')
-rw-r--r--src/attributes.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/attributes.h b/src/attributes.h
index 8628a868..25e5b505 100644
--- a/src/attributes.h
+++ b/src/attributes.h
@@ -18,9 +18,9 @@
#define SERD_ATTRIBUTES_H
#ifdef __GNUC__
-# define SERD_MALLOC_FUNC __attribute__((malloc))
+# define SERD_I_MALLOC_FUNC __attribute__((malloc))
#else
-# define SERD_MALLOC_FUNC
+# define SERD_I_MALLOC_FUNC
#endif
#endif // SERD_ATTRIBUTES_H