diff options
author | kargl <kargl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-10-21 22:38:56 +0000 |
---|---|---|
committer | kargl <kargl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-10-21 22:38:56 +0000 |
commit | 15c68e222fab78b3228a5b79d2387817f6f2672b (patch) | |
tree | b9f7432f86f6ad6d6d481895ae64e47a5c5919e0 /libgfortran/libgfortran.h | |
parent | eda715e5da050c7374a8f90d36e204b6f9dbc186 (diff) | |
download | gcc-15c68e222fab78b3228a5b79d2387817f6f2672b.tar.gz |
2006-10-21 Steven G. Kargl <kargl@gcc.gnu.org>
* runtime/error.c: Add errno.h
(generate_error): Set iostat to errno on OS error.
* libgfortran.h: Set ERROR_OS to 5000
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@117939 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran/libgfortran.h')
-rw-r--r-- | libgfortran/libgfortran.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgfortran/libgfortran.h b/libgfortran/libgfortran.h index cdbde51f0af..e023f0ea26e 100644 --- a/libgfortran/libgfortran.h +++ b/libgfortran/libgfortran.h @@ -397,7 +397,7 @@ typedef enum ERROR_EOR = -2, ERROR_END = -1, ERROR_OK = 0, /* Indicates success, must be zero. */ - ERROR_OS, /* Operating system error, more info in errno. */ + ERROR_OS = 5000, /* Operating system error, more info in errno. */ ERROR_OPTION_CONFLICT, ERROR_BAD_OPTION, ERROR_MISSING_OPTION, |