1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

undef accept before defining it, since AIX 5.2 has it as a define!

This commit is contained in:
Daniel Stenberg 2004-02-02 21:34:01 +00:00
parent ca522d4787
commit 0412a201a3

View File

@ -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__)