summaryrefslogtreecommitdiffstats
path: root/lib/rbcodec/platform.h
diff options
context:
space:
mode:
authorAidan MacDonald <amachronic@protonmail.com>2022-12-03 15:15:44 +0000
committerAidan MacDonald <amachronic@protonmail.com>2022-12-22 17:20:14 -0500
commitb96b7640de381757c5ceac182e01bc84f668e64a (patch)
tree28480994531e0e6563c5dec34affd69e2adcdeac /lib/rbcodec/platform.h
parent646d5f92ef966bfaae288becd8774953d3703f5f (diff)
downloadrockbox-b96b7640de.tar.gz
rockbox-b96b7640de.zip
rbcodec dsp: Move dsp_sample_io_configure() to its own file
Makes dsp_sample_input.c a bit less messy, and dependencies are more explicit. There's possibly a minor loss of inlining but it isn't a big deal. Change-Id: I30f923a0ca758f2b113d32852d1f65586dff0cd1
Diffstat (limited to 'lib/rbcodec/platform.h')
-rw-r--r--lib/rbcodec/platform.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/rbcodec/platform.h b/lib/rbcodec/platform.h
index d13380b795..d6b890599a 100644
--- a/lib/rbcodec/platform.h
+++ b/lib/rbcodec/platform.h
@@ -41,6 +41,11 @@ size_t strlcpy(char *dst, const char *src, size_t siz);
#ifndef INIT_ATTR
# define INIT_ATTR
#endif
+
+#ifndef INITDATA_ATTR
+# define INITDATA_ATTR
+#endif
+
/*
#ifdef CODEC