Signed-off-by: Nguyễn Thái Ngọc Duy <[email protected]>
---
 include/platform.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/include/platform.h b/include/platform.h
index 2d3821c..32180b5 100644
--- a/include/platform.h
+++ b/include/platform.h
@@ -7,6 +7,10 @@
 #ifndef	BB_PLATFORM_H
 #define BB_PLATFORM_H 1
 
+#if defined(__MINGW32__) && !ENABLE_TARGET_WIN32
+# error "You must select target platform MS Windows, or it won't build"
+#endif
+
 /* Assume all these functions exist by default.  Platforms where it is not
  * true will #undef them below.
  */
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to