Fixed preprocessor error if DEBUG isn't defined.

This commit is contained in:
Kent Sutherland committed 2011-08-01 13:14:02 -04:00
1 parent 950e3894b3
commit 436107f20e
1 file changed
+2 -2
+2 -2
View File
@@ -146,13 +146,13 @@
// -----------------------------------------------------------------------------
// Define some minimum intervals to avoid DOS-like checking attacks. These are in seconds.
#if DEBUG && 0
#if defined(DEBUG) && DEBUG && 0
#define SU_MIN_CHECK_INTERVAL 60
#else
#define SU_MIN_CHECK_INTERVAL 60*60
#endif
#if DEBUG && 0
#if defined(DEBUG) && DEBUG && 0
#define SU_DEFAULT_CHECK_INTERVAL 60
#else
#define SU_DEFAULT_CHECK_INTERVAL 60*60*24