File tree 1 file changed +0
-10
lines changed
1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -118,14 +118,10 @@ get_errno_symbol(int errnum)
118
118
return "E2BIG" ;
119
119
case EACCES :
120
120
return "EACCES" ;
121
- #ifdef EADDRINUSE
122
121
case EADDRINUSE :
123
122
return "EADDRINUSE" ;
124
- #endif
125
- #ifdef EADDRNOTAVAIL
126
123
case EADDRNOTAVAIL :
127
124
return "EADDRNOTAVAIL" ;
128
- #endif
129
125
case EAFNOSUPPORT :
130
126
return "EAFNOSUPPORT" ;
131
127
#ifdef EAGAIN
@@ -176,10 +172,8 @@ get_errno_symbol(int errnum)
176
172
return "EINVAL" ;
177
173
case EIO :
178
174
return "EIO" ;
179
- #ifdef EISCONN
180
175
case EISCONN :
181
176
return "EISCONN" ;
182
- #endif
183
177
case EISDIR :
184
178
return "EISDIR" ;
185
179
#ifdef ELOOP
@@ -216,20 +210,16 @@ get_errno_symbol(int errnum)
216
210
return "ENOSPC" ;
217
211
case ENOSYS :
218
212
return "ENOSYS" ;
219
- #ifdef ENOTCONN
220
213
case ENOTCONN :
221
214
return "ENOTCONN" ;
222
- #endif
223
215
case ENOTDIR :
224
216
return "ENOTDIR" ;
225
217
#if defined(ENOTEMPTY ) && (ENOTEMPTY != EEXIST ) /* same code on AIX */
226
218
case ENOTEMPTY :
227
219
return "ENOTEMPTY" ;
228
220
#endif
229
- #ifdef ENOTSOCK
230
221
case ENOTSOCK :
231
222
return "ENOTSOCK" ;
232
- #endif
233
223
#ifdef ENOTSUP
234
224
case ENOTSUP :
235
225
return "ENOTSUP" ;
You can’t perform that action at this time.
0 commit comments