summaryrefslogtreecommitdiff
path: root/components/libc/compilers/common/include/compiler_private.h
diff options
context:
space:
mode:
Diffstat (limited to 'components/libc/compilers/common/include/compiler_private.h')
-rw-r--r--components/libc/compilers/common/include/compiler_private.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/components/libc/compilers/common/include/compiler_private.h b/components/libc/compilers/common/include/compiler_private.h
new file mode 100644
index 0000000000..8f150bf104
--- /dev/null
+++ b/components/libc/compilers/common/include/compiler_private.h
@@ -0,0 +1,17 @@
+/*
+ * Copyright (c) 2006-2022, RT-Thread Development Team
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ *
+ * Change Logs:
+ * Date Author Notes
+ * 2021-12-26 Meco Man First Version
+ */
+
+#ifndef __COMPILER_PRIVATE_H__
+#define __COMPILER_PRIVATE_H__
+
+#define _WARNING_WITHOUT_FS "Please enable RT_USING_POSIX_FS"
+#define _WARNING_WITHOUT_STDIO "Please enable RT_USING_POSIX_FS and RT_USING_POSIX_STDIO"
+
+#endif /* __COMPILER_PRIVATE_H__ */