From 86aed4c8947923a8b8155cd7e21176fe2feba216 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Fri, 26 Nov 2004 16:18:00 +0000 Subject: Avoid warnings about unknown pragmas. --- src/assuan-defs.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/assuan-defs.h') diff --git a/src/assuan-defs.h b/src/assuan-defs.h index 80818e9..48463b3 100644 --- a/src/assuan-defs.h +++ b/src/assuan-defs.h @@ -40,7 +40,7 @@ #ifdef _WIN32 #define AF_LOCAL AF_UNIX -/* we need to prefix the structure with a sockaddr_in header so we can +/* We need to prefix the structure with a sockaddr_in header so we can use it later for sendto and recvfrom. */ struct sockaddr_un { @@ -50,9 +50,11 @@ struct sockaddr_un char sun_path[108-2-4]; /* Path name. */ }; -typedef int ssize_t; +/* Not needed anymore because the current mingw32 defines this in + sys/types.h */ +/* typedef int ssize_t; */ -/* missing W32 functions */ +/* Missing W32 functions */ int putc_unlocked (int c, FILE *stream); void * memrchr (const void *block, int c, size_t size); char * stpcpy (char *dest, const char *src); -- cgit v1.2.3