1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-08 03:22:21 +03:00

Disable the likely() and unlikely() macros as they do not work some

older versions of GCC. (CVS 4754)

FossilOrigin-Name: e01f9ed9450d3e23fc052e1b779c7a1965e76f7e
This commit is contained in:
drh
2008-01-30 16:14:23 +00:00
parent ee99b90def
commit 4bbf464fe0
3 changed files with 10 additions and 10 deletions

View File

@@ -11,7 +11,7 @@
*************************************************************************
** Internal interface definitions for SQLite.
**
** @(#) $Id: sqliteInt.h,v 1.657 2008/01/28 22:09:24 aswift Exp $
** @(#) $Id: sqliteInt.h,v 1.658 2008/01/30 16:14:23 drh Exp $
*/
#ifndef _SQLITEINT_H_
#define _SQLITEINT_H_
@@ -22,7 +22,7 @@
** a boolean expression that is usually true. GCC is able to
** use these hints to generate better code, sometimes.
*/
#if defined(__GNUC__)
#if defined(__GNUC__) && 0
# define likely(X) __builtin_expect((X),1)
# define unlikely(X) __builtin_expect((X),0)
#else