summaryrefslogtreecommitdiffstats
path: root/gst/speexresample/speex_resampler.h
diff options
context:
space:
mode:
Diffstat (limited to 'gst/speexresample/speex_resampler.h')
-rw-r--r--gst/speexresample/speex_resampler.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gst/speexresample/speex_resampler.h b/gst/speexresample/speex_resampler.h
index 1dde54ac..7ca6efc0 100644
--- a/gst/speexresample/speex_resampler.h
+++ b/gst/speexresample/speex_resampler.h
@@ -48,6 +48,11 @@
/* If the resampler is defined outside of Speex, we change the symbol names so that
there won't be any clash if linking with Speex later on. */
+/* #define RANDOM_PREFIX your software name here */
+#ifndef RANDOM_PREFIX
+#error "Please define RANDOM_PREFIX (above) to something specific to your project to prevent symbol name clashes"
+#endif
+
#define CAT_PREFIX2(a,b) a ## b
#define CAT_PREFIX(a,b) CAT_PREFIX2(a, b)