Commit c8201aa7 authored by Masamitsu MURASE's avatar Masamitsu MURASE

Add "ifndef/endif" to avoid conflict of "MIN" and "MAX" definition.

parent 2f4ef95a
......@@ -222,8 +222,13 @@
#include "regenc.h"
#ifndef MIN
#define MIN(a,b) (((a)>(b))?(b):(a))
#endif
#ifndef MAX
#define MAX(a,b) (((a)<(b))?(b):(a))
#endif
#define IS_NULL(p) (((void*)(p)) == (void*)0)
#define IS_NOT_NULL(p) (((void*)(p)) != (void*)0)
......
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