aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-02-02 21:34:01 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-02-02 21:34:01 +0000
commit0412a201a341390f443270211ce02c7c5fa23e20 (patch)
tree90c08f7da029b3bb2b8a33bbf6a39ccd43fc6abe /lib
parentca522d4787ac70e287688ea1f89f6a85f527f83d (diff)
undef accept before defining it, since AIX 5.2 has it as a define!
Diffstat (limited to 'lib')
-rw-r--r--lib/memdebug.h1
1 files changed, 1 insertions, 0 deletions
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__)