From: Robert Nelson Date: Sun, 6 Aug 2006 09:21:18 +0000 (+0000) Subject: Fix Linux build problem. I had tested this on Linux but I accidently put the change... X-Git-Tag: Release-7.0.0~7762 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4f783999352c7d19a08b30b7d2c40c33824575e3;p=bacula%2Fbacula Fix Linux build problem. I had tested this on Linux but I accidently put the change into Makefile instead of Makefile.in. git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3259 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/cats/Makefile.in b/bacula/src/cats/Makefile.in index 564d503ce1..562488f707 100644 --- a/bacula/src/cats/Makefile.in +++ b/bacula/src/cats/Makefile.in @@ -11,6 +11,8 @@ topdir = ../.. # this dir relative to top dir thisdir = src/cats +CPPFLAGS += -DBUILDING_CATS + DEBUG=@DEBUG@ MKDIR=$(topdir)/autoconf/mkinstalldirs diff --git a/bacula/src/cats/cats.h b/bacula/src/cats/cats.h index 1c723354da..3e790f5dcb 100644 --- a/bacula/src/cats/cats.h +++ b/bacula/src/cats/cats.h @@ -65,7 +65,6 @@ typedef int (DB_RESULT_HANDLER)(void *, int, char **); #ifdef __SQL_C -#define BUILDING_CATS #if defined(BUILDING_CATS) #ifdef HAVE_SQLITE