OSDN Git Service
(root)
/
pf3gnuchains
/
sourceware.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
374c682
)
* net.cc: Use gethostname define from winsock2.h.
author
cgf
<cgf>
Sat, 11 Jan 2003 01:29:18 +0000
(
01:29
+0000)
committer
cgf
<cgf>
Sat, 11 Jan 2003 01:29:18 +0000
(
01:29
+0000)
winsup/cygwin/ChangeLog
patch
|
blob
|
history
winsup/cygwin/net.cc
patch
|
blob
|
history
diff --git
a/winsup/cygwin/ChangeLog
b/winsup/cygwin/ChangeLog
index
5110a81
..
406ff52
100644
(file)
--- a/
winsup/cygwin/ChangeLog
+++ b/
winsup/cygwin/ChangeLog
@@
-1,5
+1,9
@@
2003-01-10 Christopher Faylor <cgf@redhat.com>
+ * net.cc: Use gethostname define from winsock2.h.
+
+2003-01-10 Christopher Faylor <cgf@redhat.com>
+
* path.cc: Unrevert below reversion except for
mount_info::conv_to_posix_path part.
diff --git
a/winsup/cygwin/net.cc
b/winsup/cygwin/net.cc
index
b55e439
..
4bf5b24
100644
(file)
--- a/
winsup/cygwin/net.cc
+++ b/
winsup/cygwin/net.cc
@@
-19,7
+19,9
@@
details. */
#include <iphlpapi.h>
#include <stdlib.h>
+#define gethostname cygwin_gethostname
#include <unistd.h>
+#undef gethostname
#include <netdb.h>
#define USE_SYS_TYPES_FD_SET
#include <winsock2.h>