Commit 6fb45658 authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto

Merge pull request #199 from masamitsu-murase/remove_conflicts_of_definition

Remove conflicts of definition
parents 2a3e74b4 c8201aa7
...@@ -41,8 +41,13 @@ static void backref_error(parser_state *p, node *n); ...@@ -41,8 +41,13 @@ static void backref_error(parser_state *p, node *n);
#define identchar(c) (isalnum(c) || (c) == '_' || !isascii(c)) #define identchar(c) (isalnum(c) || (c) == '_' || !isascii(c))
#ifndef TRUE
#define TRUE 1 #define TRUE 1
#endif
#ifndef FALSE
#define FALSE 0 #define FALSE 0
#endif
typedef unsigned int stack_type; typedef unsigned int stack_type;
......
...@@ -222,8 +222,13 @@ ...@@ -222,8 +222,13 @@
#include "regenc.h" #include "regenc.h"
#ifndef MIN
#define MIN(a,b) (((a)>(b))?(b):(a)) #define MIN(a,b) (((a)>(b))?(b):(a))
#endif
#ifndef MAX
#define MAX(a,b) (((a)<(b))?(b):(a)) #define MAX(a,b) (((a)<(b))?(b):(a))
#endif
#define IS_NULL(p) (((void*)(p)) == (void*)0) #define IS_NULL(p) (((void*)(p)) == (void*)0)
#define IS_NOT_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