aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lttng-ust/add-glibc-ifdef.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/lttng-ust/add-glibc-ifdef.patch')
-rw-r--r--testing/lttng-ust/add-glibc-ifdef.patch21
1 files changed, 0 insertions, 21 deletions
diff --git a/testing/lttng-ust/add-glibc-ifdef.patch b/testing/lttng-ust/add-glibc-ifdef.patch
deleted file mode 100644
index b367b922b9..0000000000
--- a/testing/lttng-ust/add-glibc-ifdef.patch
+++ /dev/null
@@ -1,21 +0,0 @@
---- lttng-ust-2.8.0.orig/include/lttng/ust-dlfcn.h
-+++ lttng-ust-2.8.0/include/lttng/ust-dlfcn.h
-@@ -31,6 +31,8 @@
- #error "Please include lttng/ust-dlfcn.h before dlfcn.h."
- #endif /* _DLFCN_H */
-
-+#ifdef __GLIBC__
-+
- /*
- * glibc declares dlsym() and dlerror() with __attribute__((leaf)) (see
- * THROW annotation). Unfortunately, this is not in sync with reality,
-@@ -57,5 +59,9 @@
- extern void *dlsym(void *__restrict __handle,
- __const char *__restrict __name) __nonnull ((2));
- extern char *dlerror(void);
-+
-+#else
-+#include <dlfcn.h>
-+#endif /* __GLIBC__ */
-
- #endif /* _LTTNG_UST_DLFCN_H */