summaryrefslogtreecommitdiff
path: root/libdrm_macros.h
diff options
context:
space:
mode:
authorEric Engestrom <eric.engestrom@imgtec.com>2018-03-16 17:07:08 +0000
committerEric Engestrom <eric.engestrom@imgtec.com>2018-03-20 14:31:07 +0000
commite8d3d885b1362caba4f1e1dfa42d45bac7163124 (patch)
tree8e85173b3168eaed28ee9031b4577db407751a9b /libdrm_macros.h
parent1a44bbae734fa6aa227d2ac621ff7884af1ae8ef (diff)
downloaddrm-e8d3d885b1362caba4f1e1dfa42d45bac7163124.tar.gz
meson,configure: always define HAVE_VISIBILITY
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
Diffstat (limited to 'libdrm_macros.h')
-rw-r--r--libdrm_macros.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdrm_macros.h b/libdrm_macros.h
index 639d0904..211fab21 100644
--- a/libdrm_macros.h
+++ b/libdrm_macros.h
@@ -23,7 +23,7 @@
#ifndef LIBDRM_LIBDRM_H
#define LIBDRM_LIBDRM_H
-#if defined(HAVE_VISIBILITY)
+#if HAVE_VISIBILITY
# define drm_private __attribute__((visibility("hidden")))
#else
# define drm_private