diff options
author | luther <luther@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-07-15 01:20:36 +0000 |
---|---|---|
committer | luther <luther@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-07-15 01:20:36 +0000 |
commit | 3e1a0167eeb76f0fcdd6b986db77448c85f94fd1 (patch) | |
tree | 27b8d0c71a2eba57093547c19fe65610a8f2943f | |
parent | bcc4d0577f33410da2b923dea5e80cfb422c1bc4 (diff) | |
download | ATCD-3e1a0167eeb76f0fcdd6b986db77448c85f94fd1.tar.gz |
Fri Jul 14 20:18:46 2000 Luther J Baker <luther@cs.wustl.edu>
-rw-r--r-- | PACE/ChangeLog | 11 | ||||
-rw-r--r-- | PACE/pace/config/utility.h | 12 | ||||
-rw-r--r-- | PACE/pace/win32/errno.h | 12 |
3 files changed, 20 insertions, 15 deletions
diff --git a/PACE/ChangeLog b/PACE/ChangeLog index 538a232b433..b8690008b3d 100644 --- a/PACE/ChangeLog +++ b/PACE/ChangeLog @@ -1,3 +1,14 @@ +Fri Jul 14 20:18:46 2000 Luther J Baker <luther@cs.wustl.edu> + + * pace/config/utility.h: + * pace/win32/errno.h: + + Moved win32 error definitions to pace/win32/errno.h. + + * pace/config/utility.h: + + Changed #include <errno.h> to #include "pace/errno.h". + Fri Jul 14 20:05:33 2000 Luther J Baker <luther@cs.wustl.edu> * pace/win32/pace_dll.dsp: diff --git a/PACE/pace/config/utility.h b/PACE/pace/config/utility.h index 98f690353ce..03f5602eff3 100644 --- a/PACE/pace/config/utility.h +++ b/PACE/pace/config/utility.h @@ -20,19 +20,9 @@ * error control * ---------------------------------------------------------------------- */ -#include <errno.h> +#include "pace/errno.h" int errno; -/* specific to win32 */ - -#if !defined (ENOSYS) -# define ENOSYS EFAULT /* Operation not supported or unknown error. */ -#endif /* !ENOSYS */ - -#if !defined (ENOTSUP) -# define ENOTSUP ENOSYS /* Operation not supported. */ -#endif /* !ENOTSUP */ - # define PACE_ERRNO_NO_SUPPORT_RETURN(FAILVALUE) \ return ( (errno = ENOTSUP), FAILVALUE) diff --git a/PACE/pace/win32/errno.h b/PACE/pace/win32/errno.h index 6557e14f213..7e35b76b566 100644 --- a/PACE/pace/win32/errno.h +++ b/PACE/pace/win32/errno.h @@ -23,6 +23,14 @@ extern "C" { #endif /* PACE_HAS_CPLUSPLUS */ +#if !defined (ENOSYS) +# define ENOSYS EFAULT /* Operation not supported or unknown error. */ +#endif /* !ENOSYS */ + +#if !defined (ENOTSUP) +# define ENOTSUP ENOSYS /* Operation not supported. */ +#endif /* !ENOTSUP */ + #define PACE_E2BIG E2BIG #define PACE_EACCES EACCES #define PACE_EAGAIN EAGAIN @@ -74,7 +82,3 @@ extern "C" { # endif /* PACE_HAS_CPLUSPLUS */ #endif /* PACE_ERRNO_H_WIN32 */ - - - - |