MacOSX compatibility: check whether memcpy is a macro, and if #undef it to get the...
[citadel.git] / webcit / webcit.h
index b3440092078d57d12e5c37f94735645fa82b536d..342571fcbce08e25e07ee3cf07690b8ec1955085 100644 (file)
@@ -123,6 +123,10 @@ extern char *ssl_cipher_list;
 
 #define TRACE syslog(LOG_DEBUG, "\033[3%dmCHECKPOINT: %s:%d\033[0m", ((__LINE__%6)+1), __FILE__, __LINE__)
 
+#ifdef UNDEF_MEMCPY
+#undef memcpy
+#endif
+
 #define SLEEPING               180             /* TCP connection timeout */
 #define WEBCIT_TIMEOUT         900             /* WebCit session timeout */
 #define PORT_NUM               2000            /* port number to listen on */