123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329 |
- // Copyright Beman Dawes 2005.
- // Use, modification, and distribution is subject to the Boost Software
- // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
- // http://www.boost.org/LICENSE_1_0.txt)
- // See library home page at http://www.boost.org/libs/system
- #ifndef BOOST_SYSTEM_DETAIL_CERRNO_HPP_INCLUDED
- #define BOOST_SYSTEM_DETAIL_CERRNO_HPP_INCLUDED
- #include <cerrno>
- // supply errno values likely to be missing, particularly on Windows
- #ifndef EAFNOSUPPORT
- #define EAFNOSUPPORT 9901
- #endif
- #ifndef EADDRINUSE
- #define EADDRINUSE 9902
- #endif
- #ifndef EADDRNOTAVAIL
- #define EADDRNOTAVAIL 9903
- #endif
- #ifndef EISCONN
- #define EISCONN 9904
- #endif
- #ifndef EBADMSG
- #define EBADMSG 9905
- #endif
- #ifndef ECONNABORTED
- #define ECONNABORTED 9906
- #endif
- #ifndef EALREADY
- #define EALREADY 9907
- #endif
- #ifndef ECONNREFUSED
- #define ECONNREFUSED 9908
- #endif
- #ifndef ECONNRESET
- #define ECONNRESET 9909
- #endif
- #ifndef EDESTADDRREQ
- #define EDESTADDRREQ 9910
- #endif
- #ifndef EHOSTUNREACH
- #define EHOSTUNREACH 9911
- #endif
- #ifndef EIDRM
- #define EIDRM 9912
- #endif
- #ifndef EMSGSIZE
- #define EMSGSIZE 9913
- #endif
- #ifndef ENETDOWN
- #define ENETDOWN 9914
- #endif
- #ifndef ENETRESET
- #define ENETRESET 9915
- #endif
- #ifndef ENETUNREACH
- #define ENETUNREACH 9916
- #endif
- #ifndef ENOBUFS
- #define ENOBUFS 9917
- #endif
- #ifndef ENOLINK
- #define ENOLINK 9918
- #endif
- #ifndef ENODATA
- #define ENODATA 9919
- #endif
- #ifndef ENOMSG
- #define ENOMSG 9920
- #endif
- #ifndef ENOPROTOOPT
- #define ENOPROTOOPT 9921
- #endif
- #ifndef ENOSR
- #define ENOSR 9922
- #endif
- #ifndef ENOTSOCK
- #define ENOTSOCK 9923
- #endif
- #ifndef ENOSTR
- #define ENOSTR 9924
- #endif
- #ifndef ENOTCONN
- #define ENOTCONN 9925
- #endif
- #ifndef ENOTSUP
- #define ENOTSUP 9926
- #endif
- #ifndef ECANCELED
- #define ECANCELED 9927
- #endif
- #ifndef EINPROGRESS
- #define EINPROGRESS 9928
- #endif
- #ifndef EOPNOTSUPP
- #define EOPNOTSUPP 9929
- #endif
- #ifndef EWOULDBLOCK
- #define EWOULDBLOCK 9930
- #endif
- #ifndef EOWNERDEAD
- #define EOWNERDEAD 9931
- #endif
- #ifndef EPROTO
- #define EPROTO 9932
- #endif
- #ifndef EPROTONOSUPPORT
- #define EPROTONOSUPPORT 9933
- #endif
- #ifndef ENOTRECOVERABLE
- #define ENOTRECOVERABLE 9934
- #endif
- #ifndef ETIME
- #define ETIME 9935
- #endif
- #ifndef ETXTBSY
- #define ETXTBSY 9936
- #endif
- #ifndef ETIMEDOUT
- #define ETIMEDOUT 9938
- #endif
- #ifndef ELOOP
- #define ELOOP 9939
- #endif
- #ifndef EOVERFLOW
- #define EOVERFLOW 9940
- #endif
- #ifndef EPROTOTYPE
- #define EPROTOTYPE 9941
- #endif
- #ifndef ENOSYS
- #define ENOSYS 9942
- #endif
- #ifndef EINVAL
- #define EINVAL 9943
- #endif
- #ifndef ERANGE
- #define ERANGE 9944
- #endif
- #ifndef EILSEQ
- #define EILSEQ 9945
- #endif
- // Windows Mobile doesn't appear to define these:
- #ifndef E2BIG
- #define E2BIG 9946
- #endif
- #ifndef EDOM
- #define EDOM 9947
- #endif
- #ifndef EFAULT
- #define EFAULT 9948
- #endif
- #ifndef EBADF
- #define EBADF 9949
- #endif
- #ifndef EPIPE
- #define EPIPE 9950
- #endif
- #ifndef EXDEV
- #define EXDEV 9951
- #endif
- #ifndef EBUSY
- #define EBUSY 9952
- #endif
- #ifndef ENOTEMPTY
- #define ENOTEMPTY 9953
- #endif
- #ifndef ENOEXEC
- #define ENOEXEC 9954
- #endif
- #ifndef EEXIST
- #define EEXIST 9955
- #endif
- #ifndef EFBIG
- #define EFBIG 9956
- #endif
- #ifndef ENAMETOOLONG
- #define ENAMETOOLONG 9957
- #endif
- #ifndef ENOTTY
- #define ENOTTY 9958
- #endif
- #ifndef EINTR
- #define EINTR 9959
- #endif
- #ifndef ESPIPE
- #define ESPIPE 9960
- #endif
- #ifndef EIO
- #define EIO 9961
- #endif
- #ifndef EISDIR
- #define EISDIR 9962
- #endif
- #ifndef ECHILD
- #define ECHILD 9963
- #endif
- #ifndef ENOLCK
- #define ENOLCK 9964
- #endif
- #ifndef ENOSPC
- #define ENOSPC 9965
- #endif
- #ifndef ENXIO
- #define ENXIO 9966
- #endif
- #ifndef ENODEV
- #define ENODEV 9967
- #endif
- #ifndef ENOENT
- #define ENOENT 9968
- #endif
- #ifndef ESRCH
- #define ESRCH 9969
- #endif
- #ifndef ENOTDIR
- #define ENOTDIR 9970
- #endif
- #ifndef ENOMEM
- #define ENOMEM 9971
- #endif
- #ifndef EPERM
- #define EPERM 9972
- #endif
- #ifndef EACCES
- #define EACCES 9973
- #endif
- #ifndef EROFS
- #define EROFS 9974
- #endif
- #ifndef EDEADLK
- #define EDEADLK 9975
- #endif
- #ifndef EAGAIN
- #define EAGAIN 9976
- #endif
- #ifndef ENFILE
- #define ENFILE 9977
- #endif
- #ifndef EMFILE
- #define EMFILE 9978
- #endif
- #ifndef EMLINK
- #define EMLINK 9979
- #endif
- #endif // #ifndef BOOST_SYSTEM_DETAIL_CERRNO_HPP_INCLUDED
|