diff options
Diffstat (limited to 'utils/utils.h')
-rw-r--r-- | utils/utils.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/utils.h b/utils/utils.h index 3fec34aa1..e4688ce2c 100644 --- a/utils/utils.h +++ b/utils/utils.h @@ -59,6 +59,7 @@ struct dirent; #undef max #endif +#ifndef __cplusplus #ifndef min #define min(x,y) (((x)<(y))?(x):(y)) #endif @@ -66,6 +67,7 @@ struct dirent; #ifndef max #define max(x,y) (((x)>(y))?(x):(y)) #endif +#endif #ifndef PRIxPTR #define PRIxPTR "x" |