Update of /cvsroot/radmind/radmind
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2968
Modified Files:
config.h.in
Log Message:
Using #ifndef for MIN and MAX rather than #ifdef SUN to be more portable.
Index: config.h.in
===================================================================
RCS file: /cvsroot/radmind/radmind/config.h.in,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** config.h.in 17 Feb 2006 17:19:38 -0000 1.7
--- config.h.in 22 Feb 2006 14:30:40 -0000 1.8
***************
*** 28,33 ****
#undef HAVE_ZLIB
! #ifdef sun
#define MIN(a,b) ((a)<(b)?(a):(b))
#define MAX(a,b) ((a)>(b)?(a):(b))
! #endif /* sun */
--- 28,36 ----
#undef HAVE_ZLIB
! #ifndef MIN
#define MIN(a,b) ((a)<(b)?(a):(b))
+ #endif /* MIN */
+
+ #ifndef MAX
#define MAX(a,b) ((a)>(b)?(a):(b))
! #endif /* MAX */
|