projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ae6a07
)
Fix typo in last commit.
author
Simon Josefsson
<simon@josefsson.org>
Mon, 3 Aug 2009 07:32:08 +0000
(09:32 +0200)
committer
Simon Josefsson
<simon@josefsson.org>
Mon, 3 Aug 2009 07:32:08 +0000
(09:32 +0200)
lib/gethostname.c
patch
|
blob
|
history
diff --git
a/lib/gethostname.c
b/lib/gethostname.c
index 6259deba2797b530d26b845a5e674f75c7d78328..df0bd16e80fc6adc8728b4a98bf14e2207bdd545 100644
(file)
--- a/
lib/gethostname.c
+++ b/
lib/gethostname.c
@@
-64,7
+64,7
@@
gethostname (char *name, size_t len)
- gethostname() requires linking with -lws2_32.
- GetComputerName() does not return the right kind of hostname.
- GetComputerNameEx(ComputerNameDnsHostname,...) returns the right hostname,
- but it hard to use portably:
+ but it
is
hard to use portably:
- It requires defining _WIN32_WINNT to at least 0x0500.
- With mingw, it also requires
"#define GetComputerNameEx GetComputerNameExA".