]> granicus.if.org Git - apache/commitdiff
provide missing MAX() macro so that proxy can compile again
authorJeff Trawick <trawick@apache.org>
Sat, 9 Mar 2002 14:04:11 +0000 (14:04 +0000)
committerJeff Trawick <trawick@apache.org>
Sat, 9 Mar 2002 14:04:11 +0000 (14:04 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93812 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/mod_proxy.c

index c5ac9b94680b184cf99f15eefdead56c3dabc5fa..a01608f1acff0c09de7651da8fc24adf63a83f17 100644 (file)
@@ -63,6 +63,9 @@
 
 extern module AP_MODULE_DECLARE_DATA proxy_module;
 
+#ifndef MAX
+#define MAX(x,y) ((x) >= (y) ? (x) : (y))
+#endif
 
 /*
  * A Web proxy module. Stages: