commit 1e2f20ad05210c6e797727b84a0ca8bf66421676
parent 10bf24746bcc260ca494e39fb68c34fd5893d566
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