summaryrefslogtreecommitdiff
path: root/include/compiler.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/compiler.h')
-rw-r--r--include/compiler.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/compiler.h b/include/compiler.h
index 6b0d3bf5374..8cf11792e24 100644
--- a/include/compiler.h
+++ b/include/compiler.h
@@ -155,11 +155,12 @@ typedef unsigned long int uintptr_t;
#endif
/**
- * host_build() - check if we are building for the host
+ * tools_build() - check if we are building host tools
*
* @return true if building for the host, false if for a target
*/
-static inline bool host_build(void) {
+static inline bool tools_build(void)
+{
#ifdef USE_HOSTCC
return true;
#else