diff --git a/gb.db.sqlite2/src/main.h b/gb.db.sqlite2/src/main.h index 857fd4236..564a97bbe 100644 --- a/gb.db.sqlite2/src/main.h +++ b/gb.db.sqlite2/src/main.h @@ -38,8 +38,6 @@ extern DB_INTERFACE DB; #define QUOTE_STRING "'" #define MAX_PATH 132 /* MAX LENGTH OF FILENAME PATH */ -#define TRUE 1 -#define FALSE 0 #include "gb.db.proto.h" diff --git a/gb.gtk/src/font-parser.cpp b/gb.gtk/src/font-parser.cpp index 52c4008a9..dc9786555 100644 --- a/gb.gtk/src/font-parser.cpp +++ b/gb.gtk/src/font-parser.cpp @@ -21,17 +21,10 @@ ***************************************************************************/ +#include #include #include -#ifndef TRUE -#define TRUE -1 -#endif - -#ifndef FALSE -#define FALSE 0 -#endif - static char *gb_font_pointers[8]; static char *gb_font_name; static int gb_font_strikeout; @@ -106,11 +99,11 @@ void gb_font_trim() int gb_font_is_size(char *str) { long bc,max; - int rel=FALSE; + int rel=false; int vl=0; int fact=1; - if (!str) return TRUE; + if (!str) return true; max=strlen(str); for(bc=0;bc extern "C" { -#define FALSE false -#define TRUE true - #include #include diff --git a/main/lib/image.effect/qt.h b/main/lib/image.effect/qt.h index c0bc9439c..ade1f7e00 100644 --- a/main/lib/image.effect/qt.h +++ b/main/lib/image.effect/qt.h @@ -34,9 +34,6 @@ #define QT_STATIC_CONST static const #define QT_STATIC_CONST_IMPL const -#define FALSE false -#define TRUE true - #define QMAX(a, b) ((b) < (a) ? (a) : (b)) #define QMIN(a, b) ((a) < (b) ? (a) : (b)) #define QABS(a) ((a) >= 0 ? (a) : -(a)) diff --git a/main/lib/jit/gb.jit/jit.h b/main/lib/jit/gb.jit/jit.h index 22c687e30..e2ec9ff1e 100644 --- a/main/lib/jit/gb.jit/jit.h +++ b/main/lib/jit/gb.jit/jit.h @@ -4,9 +4,6 @@ #include //#include -#define TRUE 1 -#define FALSE 0 - // __attribute__((noreturn)) makes gcc dizzy and slow as hell #define NORETURN