mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
dcf31c6a1e
--------- Co-authored-by: tiopex <tiopxyz@gmail.com> Co-authored-by: tiopex <67048640+tiopex@users.noreply.github.com>
27 lines
730 B
Diff
27 lines
730 B
Diff
lib/misc/msgList.c: missing #ifdef
|
|
|
|
This macro checks for BSD style printf(), which is not present
|
|
when compiling for uClibc. The linked functions are unnecessary in
|
|
this case, and they break compilation.
|
|
|
|
Signed-off-by: Karoly Kasza <kaszak@gmail.com>
|
|
|
|
--- openvmtools-stable-9.10.0.orig/open-vm-tools/lib/misc/msgList.c 2015-06-17 10:01:00.000000000 +0200
|
|
+++ openvmtools-stable-9.10.0/open-vm-tools/lib/misc/msgList.c 2015-06-17 10:01:00.000000000 +0200
|
|
@@ -487,6 +487,7 @@
|
|
return messages->id;
|
|
}
|
|
|
|
+#ifdef HAS_BSD_PRINTF
|
|
|
|
/*
|
|
*----------------------------------------------------------------------
|
|
@@ -566,6 +567,7 @@
|
|
}
|
|
}
|
|
|
|
+#endif
|
|
|
|
/*
|
|
*----------------------------------------------------------------------
|