summaryrefslogtreecommitdiff
path: root/doc/posix-functions/gethostname.texi
diff options
context:
space:
mode:
Diffstat (limited to 'doc/posix-functions/gethostname.texi')
-rw-r--r--doc/posix-functions/gethostname.texi4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/posix-functions/gethostname.texi b/doc/posix-functions/gethostname.texi
index a7ff3f6484..d162cea738 100644
--- a/doc/posix-functions/gethostname.texi
+++ b/doc/posix-functions/gethostname.texi
@@ -9,6 +9,10 @@ Gnulib module: gethostname
Portability problems fixed by Gnulib:
@itemize
@item
+This function is declared in a different header file (namely,
+@code{<winsock2.h>}) on some platforms:
+MSVC 14.
+@item
On mingw and MSVC 14, this function has a prototype that differs from that
specified by POSIX, and it is defined only in the ws2_32 library.
@end itemize

Return to:

Send suggestions and report system problems to the System administrator.