netutils/thttpd: remove MIN and MAX definitions from libhttpd.c

This reverts commit e12d48f0d240edbd6934aac373242fe6b9b9aad2.
This commit is contained in:
Petro Karashchenko 2022-10-23 12:09:04 +02:00 committed by Xiang Xiao
parent 0fe45a4c73
commit 5862b9d15c
6 changed files with 6 additions and 8 deletions

View File

@ -59,6 +59,7 @@
#ifndef MIN
# define MIN(a,b) ((a) < (b) ? (a) : (b))
#endif
#ifndef MAX
# define MAX(a,b) ((a) > (b) ? (a) : (b))
#endif

View File

@ -56,6 +56,7 @@
#ifndef MIN
# define MIN(a,b) ((a) < (b) ? (a) : (b))
#endif
#ifndef MAX
# define MAX(a,b) ((a) > (b) ? (a) : (b))
#endif

View File

@ -55,6 +55,7 @@
#ifndef MIN
# define MIN(a,b) ((a) < (b) ? (a) : (b))
#endif
#ifndef MAX
# define MAX(a,b) ((a) > (b) ? (a) : (b))
#endif

View File

@ -56,6 +56,7 @@
#ifndef MIN
# define MIN(a,b) ((a) < (b) ? (a) : (b))
#endif
#ifndef MAX
# define MAX(a,b) ((a) > (b) ? (a) : (b))
#endif

View File

@ -92,14 +92,6 @@
extern CODE char *crypt(const char *key, const char *setting);
#ifndef MAX
# define MAX(a,b) ((a) > (b) ? (a) : (b))
#endif
#ifndef MIN
# define MIN(a,b) ((a) < (b) ? (a) : (b))
#endif
/* Conditional macro to allow two alternate forms for use in the built-in
* error pages. If EXPLICIT_ERROR_PAGES is defined, the second and more
* explicit error form is used; otherwise, the first and more generic

View File

@ -55,6 +55,7 @@
#include <time.h>
#include "config.h"
#ifdef CONFIG_THTTPD
/****************************************************************************
@ -66,6 +67,7 @@
#ifndef MAX
# define MAX(a,b) ((a) > (b) ? (a) : (b))
#endif
#ifndef MIN
# define MIN(a,b) ((a) < (b) ? (a) : (b))
#endif