Fix compilation errors when building SQLITE_DEBUG defined but without SQLITE_MEMDEBUG. (CVS 2964)

FossilOrigin-Name: 62dd2427784721436737a6e8e11fc05e10f0c44d
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index a338f7e..8865f4e 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -11,7 +11,7 @@
 *************************************************************************
 ** Internal interface definitions for SQLite.
 **
-** @(#) $Id: sqliteInt.h,v 1.470 2006/01/17 13:21:40 danielk1977 Exp $
+** @(#) $Id: sqliteInt.h,v 1.471 2006/01/17 15:36:32 danielk1977 Exp $
 */
 #ifndef _SQLITEINT_H_
 #define _SQLITEINT_H_
@@ -1757,12 +1757,12 @@
 #endif
 
 void sqlite3MallocClearFailed();
-#ifdef NDEBUG
-  #define sqlite3MallocDisallow()
-  #define sqlite3MallocAllow()
-#else
+#ifdef SQLITE_MEMDEBUG
   void sqlite3MallocDisallow();
   void sqlite3MallocAllow();
+#else
+  #define sqlite3MallocDisallow()
+  #define sqlite3MallocAllow()
 #endif
 
 #ifdef SQLITE_SSE