blob: 14e56bd7b6fc8ec24c552cedaa3fd79ef8d9a9f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
--- a/cdb.c
+++ b/cdb.c
@@ -31,6 +31,12 @@
# define HAVE_PROGRAM_INVOCATION_SHORT_NAME
#endif
+#ifdef __UCLIBC__
+# ifndef __UCLIBC_HAS_PROGRAM_INVOCATION_NAME__
+# undef HAVE_PROGRAM_INVOCATION_SHORT_NAME
+# endif
+#endif
+
#ifdef HAVE_PROGRAM_INVOCATION_SHORT_NAME
# define progname program_invocation_short_name
#else
|