1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-10 01:02:56 +03:00

Fix to sqlite3AllocMalloc() when it is a no-op macro. (CVS 2998)

FossilOrigin-Name: 8caa9f95b8a36e34510cf46d518bd63bd8fa0a32
This commit is contained in:
drh
2006-01-23 13:28:53 +00:00
parent b52076cd7a
commit c93cc42df8
3 changed files with 11 additions and 11 deletions

View File

@@ -11,7 +11,7 @@
*************************************************************************
** Internal interface definitions for SQLite.
**
** @(#) $Id: sqliteInt.h,v 1.477 2006/01/23 13:00:38 drh Exp $
** @(#) $Id: sqliteInt.h,v 1.478 2006/01/23 13:28:54 drh Exp $
*/
#ifndef _SQLITEINT_H_
#define _SQLITEINT_H_
@@ -1759,9 +1759,9 @@ void sqlite3FailedMalloc(void);
void sqlite3MallocAllow(void);
int sqlite3TestMallocFail(void);
#else
#define sqlite3TestMallocFail(void) 0
#define sqlite3MallocDisallow(void)
#define sqlite3MallocAllow(void)
#define sqlite3TestMallocFail() 0
#define sqlite3MallocDisallow()
#define sqlite3MallocAllow()
#endif
#ifdef SQLITE_SSE