projects
/
psqlodbc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b6e72a
)
wsaData evades with *nix.
author
Hiroshi Saito
<hiroshi@winpg.jp>
Tue, 3 Apr 2007 15:20:31 +0000
(15:20 +0000)
committer
Hiroshi Saito
<hiroshi@winpg.jp>
Tue, 3 Apr 2007 15:20:31 +0000
(15:20 +0000)
environ.c
patch
|
blob
|
blame
|
history
diff --git
a/environ.c
b/environ.c
index 6e1c50c8214654280237c8cad88099d3a5de04ff..d8dbc30578183b76be7a74a43802ab518d3d5461 100644
(file)
--- a/
environ.c
+++ b/
environ.c
@@
-500,6
+500,7
@@
EN_Constructor(void)
{
CSTR func = "EN_Constructor";
EnvironmentClass *rv = NULL;
+#ifdef WIN32
#ifndef _WSASTARTUP_IN_DLLMAIN_
WORD wVersionRequested;
WSADATA wsaData;
@@
-516,6
+517,7
@@
EN_Constructor(void)
goto cleanup;
}
#endif /* _WSASTARTUP_IN_DLLMAIN_ */
+#endif
rv = (EnvironmentClass *) malloc(sizeof(EnvironmentClass));
cleanup: