--- mstools/h/errno.h 2018/08/09 18:21:07 1.1.1.3 +++ mstools/h/errno.h 2018/08/09 18:23:02 1.1.1.4 @@ -1,7 +1,7 @@ /*** *errno.h - system wide error numbers (set by system calls) * -* Copyright (c) 1985-1992, Microsoft Corporation. All rights reserved. +* Copyright (c) 1985-1993, Microsoft Corporation. All rights reserved. * *Purpose: * This file defines the system-wide error numbers (set by @@ -30,15 +30,6 @@ extern "C" { #define _CRTAPI1 __cdecl #define _CRTAPI2 __cdecl -#elif ( _MSC_VER == 600 ) - -/* - * Definitions for old MS C6-386 compiler - */ -#define _CRTAPI1 _cdecl -#define _CRTAPI2 _cdecl -#define _M_IX86 300 - #else /* @@ -61,7 +52,6 @@ extern int errno; /* Error Codes */ -#define EZERO 0 #define EPERM 1 #define ENOENT 2 #define ESRCH 3 @@ -76,7 +66,6 @@ extern int errno; #define ENOMEM 12 #define EACCES 13 #define EFAULT 14 -#define ENOTBLK 15 #define EBUSY 16 #define EEXIST 17 #define EXDEV 18 @@ -87,7 +76,6 @@ extern int errno; #define ENFILE 23 #define EMFILE 24 #define ENOTTY 25 -#define ETXTBSY 26 #define EFBIG 27 #define ENOSPC 28 #define ESPIPE 29 @@ -96,8 +84,17 @@ extern int errno; #define EPIPE 32 #define EDOM 33 #define ERANGE 34 -#define EUCLEAN 35 -#define EDEADLOCK 36 +#define EDEADLK 36 +#define ENAMETOOLONG 38 +#define ENOLCK 39 +#define ENOSYS 40 +#define ENOTEMPTY 41 +#define EILSEQ 42 + +/* + * Support EDEADLOCK for compatibiity with older MS-C versions. + */ +#define EDEADLOCK EDEADLK #ifdef __cplusplus }