diff options
Diffstat (limited to 'miniany/libc-freestanding.c')
-rw-r--r-- | miniany/libc-freestanding.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/miniany/libc-freestanding.c b/miniany/libc-freestanding.c index ffed093..fdec615 100644 --- a/miniany/libc-freestanding.c +++ b/miniany/libc-freestanding.c @@ -65,13 +65,8 @@ enum { SYSCALL_WRITE = 4 }; -/* EOF = -1 is a const expression for c4 */ -/* EOF = 0xFFFFFFFF clang doesn't like this */ -/* EOF = 0xFFFFFFFF gcc overflow in conversion from 'enum <anonymous>' to 'int' changes value from '4294967295' to '-1' */ -/* EOF = 256, this is not standard, but doesn't really matter in freestanding mode, - * code should really not relly on the fact what the value of EOF is (-1 usually) */ enum { - EOF = 256 + EOF = -1 }; int errno; |