projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67953f5
)
WSATYPE_NOT_FOUND was already defined for BCC so don't redefine it
author
Bruce Momjian
<
[email protected]
>
Wed, 21 Nov 2007 23:13:36 +0000
(23:13 +0000)
committer
Bruce Momjian
<
[email protected]
>
Wed, 21 Nov 2007 23:13:36 +0000
(23:13 +0000)
(conflicting values).
src/include/getaddrinfo.h
patch
|
blob
|
blame
|
history
diff --git
a/src/include/getaddrinfo.h
b/src/include/getaddrinfo.h
index fc51850b8566b9e248dc4f9b22c9ce4df2517333..f333ce997c18c25f3aea04dcd33ac5b689a2f0e4 100644
(file)
--- a/
src/include/getaddrinfo.h
+++ b/
src/include/getaddrinfo.h
@@
-44,8
+44,10
@@
#ifndef WSA_NOT_ENOUGH_MEMORY
#define WSA_NOT_ENOUGH_MEMORY (WSAENOBUFS)
#endif
+#ifndef __BORLANDC__
#define WSATYPE_NOT_FOUND (WSABASEERR+109)
#endif
+#endif
#define EAI_AGAIN WSATRY_AGAIN
#define EAI_BADFLAGS WSAEINVAL
#define EAI_FAIL WSANO_RECOVERY