]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Fix the define for GLIBC. uClibc just passes syslog to printf, so assume %m works...
authorRoy Marples <roy@marples.name>
Fri, 5 Sep 2008 15:28:08 +0000 (15:28 +0000)
committerRoy Marples <roy@marples.name>
Fri, 5 Sep 2008 15:28:08 +0000 (15:28 +0000)
logger.c

index d098d7222e466fd8a9d4cb98b8b8a30a1892e8d7..fbd71fb4598f9591fe358e68d57dfc7930794217 100644 (file)
--- a/logger.c
+++ b/logger.c
  * uClibc does support it, but it's not enabled by default. */
 #ifndef HAVE_PRINTF_M
 # ifdef __GLIBC__
-#  if !defined(__UCLIBC__) && !defined (__dietlibc__)
-#   define HAVE_PRINT_M 1
-#  endif
+#  define HAVE_PRINTF_M 1
 # endif
-# ifndef HAVE_PRINT_M
-#  define HAVE_PRINT_M 0
+# ifndef HAVE_PRINTF_M
+#  define HAVE_PRINTF_M 0
 # endif
 #endif