We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 44a4964 + b198562 commit ce8af02Copy full SHA for ce8af02
1 file changed
src/cdefs-compat.h
@@ -1,11 +1,16 @@
1
#ifndef _CDEFS_COMPAT_H_
2
#define _CDEFS_COMPAT_H_
3
4
+#ifdef __MINIOS__
5
+/* No stdio.h on Mini-OS. */
6
+#include <sys/cdefs.h>
7
+#else
8
/*
9
* We cannot be certain that this operating system has <sys/cdefs.h>.
10
* Instead, include a header file that is likely to pull in this header.
11
*/
12
#include <stdio.h>
13
+#endif
14
15
#if defined(__cplusplus)
16
#define __BEGIN_DECLS extern "C" {
0 commit comments