summaryrefslogtreecommitdiff
path: root/include/llvm-libc-macros/stdio-macros.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm-libc-macros/stdio-macros.h')
-rw-r--r--include/llvm-libc-macros/stdio-macros.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/include/llvm-libc-macros/stdio-macros.h b/include/llvm-libc-macros/stdio-macros.h
index b2c62ec7cff2..4664801c5731 100644
--- a/include/llvm-libc-macros/stdio-macros.h
+++ b/include/llvm-libc-macros/stdio-macros.h
@@ -6,9 +6,13 @@
//
//===----------------------------------------------------------------------===//
-#ifndef __LLVM_LIBC_MACROS_STDIO_MACROS_H
-#define __LLVM_LIBC_MACROS_STDIO_MACROS_H
+#ifndef LLVM_LIBC_MACROS_STDIO_MACROS_H
+#define LLVM_LIBC_MACROS_STDIO_MACROS_H
+
+#ifndef EOF
+#define EOF (-1)
+#endif
#define BUFSIZ 1024
-#endif // __LLVM_LIBC_MACROS_STDIO_MACROS_H
+#endif // LLVM_LIBC_MACROS_STDIO_MACROS_H