aboutsummaryrefslogtreecommitdiff
path: root/libgfortran/libgfortran.h
diff options
context:
space:
mode:
authorSteven G. Kargl <kargl@gcc.gnu.org>2006-10-21 22:38:56 +0000
committerSteven G. Kargl <kargl@gcc.gnu.org>2006-10-21 22:38:56 +0000
commit4a8bce89d10b92fe8dbef8a5adf202ee0ed27e83 (patch)
treeb9f7432f86f6ad6d6d481895ae64e47a5c5919e0 /libgfortran/libgfortran.h
parent96208aed834bc74bba278d2cd57bd628e6a15930 (diff)
downloadgcc-4a8bce89d10b92fe8dbef8a5adf202ee0ed27e83.zip
gcc-4a8bce89d10b92fe8dbef8a5adf202ee0ed27e83.tar.gz
gcc-4a8bce89d10b92fe8dbef8a5adf202ee0ed27e83.tar.bz2
error.c: Add errno.h
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 From-SVN: r117939
Diffstat (limited to 'libgfortran/libgfortran.h')
-rw-r--r--libgfortran/libgfortran.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgfortran/libgfortran.h b/libgfortran/libgfortran.h
index cdbde51..e023f0e 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,