Back to index

lightning-sunbird  0.9+nobinonly
errno.h
Go to the documentation of this file.
00001 /*  Metrowerks Standard Library  Version 2.4  1998 March 10  */
00002 
00003 /*
00004  *     errno.h
00005 */
00006 
00007 /* Adapted for GUSI by Matthias Neeracher <neeri@iis.ee.ethz.ch> */
00008 
00009 #ifndef _ERRNO_H
00010 #define _ERRNO_H
00011 
00012 #ifdef __MWERKS__
00013 #include <cerrno>
00014 /*
00015  * Undef error codes defined by MSL. We are overriding the MSL implementations, so
00016  * these versions of the codes should never be generated anyway.
00017  */
00018 #undef EEXIST
00019 #undef ENOTEMPTY
00020 #undef EISDIR
00021 #undef EPERM
00022 #undef EACCES
00023 #undef EBADF
00024 #undef EDEADLOCK
00025 #undef EMFILE
00026 #undef ENOENT
00027 #undef ENFILE
00028 #undef ENOSPC
00029 #undef EINVAL
00030 #undef EIO
00031 #undef ENOMEM
00032 #undef ENOSYS
00033 #undef ENAMETOOLONG
00034 #undef EDEADLK
00035 #undef EAGAIN
00036 #else
00037 #include <mpw/errno.h>
00038 #endif
00039 
00040 #include <sys/errno.h>
00041 
00042 #if defined(__cplusplus) && defined(_MSL_USING_NAMESPACE) && (__MSL__ < 0x5000)
00043        using namespace std;
00044 #endif
00045 
00046 #endif