don't redefine ABS
authorChris Toshok <toshok@gmail.com>
Fri, 29 Jul 2011 23:50:50 +0000 (16:50 -0700)
committerChris Toshok <toshok@gmail.com>
Wed, 3 Aug 2011 17:35:05 +0000 (10:35 -0700)
eglib/src/glib.h

index efd1806ff1d00d7f496d92a6a494039ddcfc3340..28e68d3e748c5b72f5291bdb57028f938763fea7 100644 (file)
@@ -129,7 +129,9 @@ typedef guint32 gunichar;
 
 #define G_USEC_PER_SEC  1000000
 
+#ifndef ABS
 #define ABS(a)         ((a) > 0 ? (a) : -(a))
+#endif
 
 #define G_STRUCT_OFFSET(p_type,field) offsetof(p_type,field)