Fix for redefinition of MIN and MAX macros

This commit is contained in:
Mark Riddoch 2013-07-23 13:19:36 +02:00
parent 5439f01adb
commit 521a66f9c1

View File

@ -2,8 +2,12 @@
#define SKYGW_UTILS_H
#define MLIST
#ifndef MIN
#define MIN(a,b) (a<b ? a : b)
#endif
#ifndef MAX
#define MAX(a,b) (a>b ? a : b)
#endif
#define FSYNCLIMIT 10
#include "skygw_types.h"