summaryrefslogtreecommitdiffstats
path: root/media/libav/avfft_perms.h
diff options
context:
space:
mode:
Diffstat (limited to 'media/libav/avfft_perms.h')
-rw-r--r--media/libav/avfft_perms.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/media/libav/avfft_perms.h b/media/libav/avfft_perms.h
new file mode 100644
index 000000000..b223e6711
--- /dev/null
+++ b/media/libav/avfft_perms.h
@@ -0,0 +1,17 @@
+/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
+/* vim:set ts=2 sw=2 sts=2 et cindent: */
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+// Include file for fixing symbol visibility on OS X, until system headers work
+// there.
+
+#ifndef MOZILLA_AVFFT_PERMS_H
+#define MOZILLA_AVFFT_PERMS_H
+
+#pragma GCC visibility push(default)
+#include "libavcodec/avfft.h"
+#pragma GCC visibility pop
+
+#endif // MOZILLA_AVFFT_PERMS_H