Commit 0f5f99f3 authored by Erik Faye-Lund's avatar Erik Faye-Lund
Browse files

remove redundant MIN/MAX macro defines



MIN(x,y) and MAX(x,y) are already defined in
pimp_base.h, and the define-guard did thus not
define these macros at all.
Signed-off-by: default avatarErik Faye-Lund <kusmabite@gmail.com>
parent 2b0dbfae
......@@ -642,13 +642,6 @@ static void pimp_mod_context_update_tick(struct pimp_mod_context *ctx)
ctx->curr_tick++;
}
#ifndef MAX
#define MAX(x, y) ((x) > (y) ? (x) : (y))
#endif
#ifndef MIN
#define MIN(x, y) ((x) > (y) ? (y) : (x))
#endif
void pimp_render(struct pimp_mod_context *ctx, s8 *buf, u32 samples)
{
while (TRUE)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment