commit 596504739eeeb3e90ba9f7615b1a9c81b2ed4326
parent 221526b92844eaea8c35fd64ca855cde3e9a7a96
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date: Sat, 13 Jun 2020 18:38:53 +0200
libc: Put an explicit error output in float.h
Current float.h is only a placeholder. As it is empty,
it can produce unkonwn errors if some program uses it,
so it is better to abort the compilation with a clear
error.
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/include/float.h b/include/float.h
@@ -1 +1,4 @@
-/* TODO: Placeholder for compatibility with libraries that need to include it */
+#ifndef _FLOAT_H
+#define _FLOAT_H
+#error float.h is not supported yet
+#endif