[Box Backup-commit] COMMIT r1035 - box/chris/merge/bin/bbackupquery

boxbackup-dev at fluffy.co.uk boxbackup-dev at fluffy.co.uk
Sat Oct 14 15:59:55 BST 2006


Author: chris
Date: 2006-10-14 15:59:55 +0100 (Sat, 14 Oct 2006)
New Revision: 1035

Modified:
   box/chris/merge/bin/bbackupquery/BackupQueries.cpp
Log:
 * Fix compile error caused by conflicting MSVC macros (refs #3)


Modified: box/chris/merge/bin/bbackupquery/BackupQueries.cpp
===================================================================
--- box/chris/merge/bin/bbackupquery/BackupQueries.cpp	2006-10-14 14:57:08 UTC (rev 1034)
+++ box/chris/merge/bin/bbackupquery/BackupQueries.cpp	2006-10-14 14:59:55 UTC (rev 1035)
@@ -49,6 +49,10 @@
 
 #include "MemLeakFindOn.h"
 
+// min() and max() macros from stdlib.h break numeric_limits<>::min(), etc.
+#undef min
+#undef max
+
 #define COMPARE_RETURN_SAME			1
 #define COMPARE_RETURN_DIFFERENT	2
 #define COMPARE_RETURN_ERROR		3




More information about the Boxbackup-commit mailing list