From 0412a201a341390f443270211ce02c7c5fa23e20 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 2 Feb 2004 21:34:01 +0000 Subject: undef accept before defining it, since AIX 5.2 has it as a define! --- lib/memdebug.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/memdebug.h') diff --git a/lib/memdebug.h b/lib/memdebug.h index 6c289bd4d..7b7b713e2 100644 --- a/lib/memdebug.h +++ b/lib/memdebug.h @@ -70,6 +70,7 @@ int curl_fclose(FILE *file, int line, const char *source); #define socket(domain,type,protocol)\ curl_socket(domain,type,protocol,__LINE__,__FILE__) +#undef accept /* for those with accept as a macro */ #define accept(sock,addr,len)\ curl_accept(sock,addr,len,__LINE__,__FILE__) -- cgit v1.2.3