mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-23 21:57:33 -08:00
16 lines
328 B
Diff
16 lines
328 B
Diff
--- 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
|