summaryrefslogtreecommitdiff
path: root/lang/icc/files/cdefs.h
diff options
context:
space:
mode:
Diffstat (limited to 'lang/icc/files/cdefs.h')
-rw-r--r--lang/icc/files/cdefs.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/lang/icc/files/cdefs.h b/lang/icc/files/cdefs.h
new file mode 100644
index 000000000000..bbf776dc3c72
--- /dev/null
+++ b/lang/icc/files/cdefs.h
@@ -0,0 +1,20 @@
+#ifndef __INTEL_COMPILER_SYS_CDEFS_H_
+#define __INTEL_COMPILER_SYS_CDEFS_H_
+
+#ifndef __GNUC__
+#define __INTEL_COMPILER_NO_GNUC_DEFINED
+#define __GNUC__ 3
+#define __GNUC_MINOR__ 2
+#define __GNUC_PATCHLEVEL__ 0
+#endif
+
+#include_next <sys/cdefs.h>
+
+#ifdef __INTEL_COMPILER_NO_GNUC_DEFINED
+#undef __GNUC__
+#undef __GNUC_MINOR__
+#undef __GNUC_PATCHLEVEL__
+#undef __INTEL_COMPILER_NO_GNUC_DEFINED
+#endif
+
+#endif /* !__INTEL_COMPILER_SYS_CDEFS_H_ */