NCBI C++ ToolKit
ncbierror_impl.hpp
Go to the documentation of this file.

Go to the SVN repository for this file.

1 #ifndef CORELIB___NCBIERROR_IMPL__HPP
2 #define CORELIB___NCBIERROR_IMPL__HPP
3 
4 /* $Id: ncbierror_impl.hpp 55523 2012-08-27 14:27:55Z gouriano $
5  * ===========================================================================
6  *
7  * PUBLIC DOMAIN NOTICE
8  * National Center for Biotechnology Information
9  *
10  * This software/database is a "United States Government Work" under the
11  * terms of the United States Copyright Act. It was written as part of
12  * the author's official duties as a United States Government employee and
13  * thus cannot be copyrighted. This software/database is freely available
14  * to the public for use. The National Library of Medicine and the U.S.
15  * Government have not placed any restriction on its use or reproduction.
16  *
17  * Although all reasonable efforts have been taken to ensure the accuracy
18  * and reliability of the software and data, the NLM and the U.S.
19  * Government do not and cannot warrant the performance or results that
20  * may be obtained by using this software or data. The NLM and the U.S.
21  * Government disclaim all warranties, express or implied, including
22  * warranties of performance, merchantability or fitness for any particular
23  * purpose.
24  *
25  * Please cite the author in any work or product based on this material.
26  *
27  * ===========================================================================
28  *
29  * Author: Andrei Gourianov
30  *
31  *
32  */
33 
34 /////////////////////////////////////////////////////////////////////////////
35 // missing errno codes (copied from errno.h)
36 #if NCBI_COMPILER_MSVC
37 # if _MSC_VER < 1600
38 
39 # define EADDRINUSE 100
40 # define EADDRNOTAVAIL 101
41 # define EAFNOSUPPORT 102
42 # define EALREADY 103
43 # define EBADMSG 104
44 # define ECANCELED 105
45 # define ECONNABORTED 106
46 # define ECONNREFUSED 107
47 # define ECONNRESET 108
48 # define EDESTADDRREQ 109
49 # define EHOSTUNREACH 110
50 # define EIDRM 111
51 # define EINPROGRESS 112
52 # define EISCONN 113
53 # define ELOOP 114
54 # define EMSGSIZE 115
55 # define ENETDOWN 116
56 # define ENETRESET 117
57 # define ENETUNREACH 118
58 # define ENOBUFS 119
59 # define ENODATA 120
60 # define ENOLINK 121
61 # define ENOMSG 122
62 # define ENOPROTOOPT 123
63 # define ENOSR 124
64 # define ENOSTR 125
65 # define ENOTCONN 126
66 # define ENOTRECOVERABLE 127
67 # define ENOTSOCK 128
68 # define ENOTSUP 129
69 # define EOPNOTSUPP 130
70 # define EOTHER 131
71 # define EOVERFLOW 132
72 # define EOWNERDEAD 133
73 # define EPROTO 134
74 # define EPROTONOSUPPORT 135
75 # define EPROTOTYPE 136
76 # define ETIME 137
77 # define ETIMEDOUT 138
78 # define ETXTBSY 139
79 # define EWOULDBLOCK 140
80 
81 # endif
82 #endif // NCBI_COMPILER_MSVC
83 
84 
85 #endif /* CORELIB___NCBIERROR_IMPL__HPP */
Modified on Sun Feb 25 03:05:45 2024 by modify_doxy.py rev. 669887