diff options
author | Xavier Leroy <xavier.leroy@inria.fr> | 2011-09-07 12:04:58 +0000 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@inria.fr> | 2011-09-07 12:04:58 +0000 |
commit | d2126be2b3f7d547bb20facd4cb7ef7a193ed300 (patch) | |
tree | d158fb4a53e58c0990680360498e245282bf3fef /byterun/sys.c | |
parent | 4a97d270ad6d621c4cd5acd80564c5641de70f66 (diff) |
Testing byterun with CompCert and finding minor issues:
- int64_format.h: off-by-one error in skipping width modifier
- sys.c: pre-ANSI-C cruft removed (<errno.h> MUST define errno)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11180 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'byterun/sys.c')
-rw-r--r-- | byterun/sys.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/byterun/sys.c b/byterun/sys.c index 4b35d1e03..70475e919 100644 --- a/byterun/sys.c +++ b/byterun/sys.c @@ -51,9 +51,11 @@ #include "stacks.h" #include "sys.h" +#if 0 #ifndef _WIN32 extern int errno; #endif +#endif static char * error_message(void) { |