aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGregor Jasny <gjasny@googlemail.com>2012-12-01 00:28:13 +0100
committerGregor Jasny <gjasny@googlemail.com>2012-12-01 00:36:30 +0100
commitce44604f9612bbec777570fec7295cb0ff40a232 (patch)
treebd224e9818e017fa454e3d84e2a3ba61d64b46a4
parent53f93cddb225f709f79e28619e0a1f7c7faa3ce7 (diff)
libv4l-mplane: Use HAVE_VISIBILITY as condition for visibility attribute
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
-rw-r--r--lib/libv4l-mplane/libv4l-mplane.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libv4l-mplane/libv4l-mplane.c b/lib/libv4l-mplane/libv4l-mplane.c
index ef7cf401..65943bac 100644
--- a/lib/libv4l-mplane/libv4l-mplane.c
+++ b/lib/libv4l-mplane/libv4l-mplane.c
@@ -16,6 +16,7 @@
* Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335 USA
*/
+#include <config.h>
#include <errno.h>
#include <stdint.h>
#include <stdio.h>
@@ -32,7 +33,7 @@
syscall(SYS_ioctl, (int)(fd), (unsigned long)(cmd), (void *)(arg))
-#if __GNUC__ >= 4
+#if HAVE_VISIBILITY
#define PLUGIN_PUBLIC __attribute__ ((visibility("default")))
#else
#define PLUGIN_PUBLIC

Privacy Policy