]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix Linux build problem. I had tested this on Linux but I accidently put the change...
authorRobert Nelson <robertn@the-nelsons.org>
Sun, 6 Aug 2006 09:21:18 +0000 (09:21 +0000)
committerRobert Nelson <robertn@the-nelsons.org>
Sun, 6 Aug 2006 09:21:18 +0000 (09:21 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3259 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/cats/Makefile.in
bacula/src/cats/cats.h

index 564d503ce1eefb29c7126b3272d091071b1c06db..562488f707e53359d53a5c36483d6bec18280ae3 100644 (file)
@@ -11,6 +11,8 @@ topdir = ../..
 # this dir relative to top dir
 thisdir = src/cats
 
+CPPFLAGS += -DBUILDING_CATS
+
 DEBUG=@DEBUG@
 MKDIR=$(topdir)/autoconf/mkinstalldirs
 
index 1c723354da543a889bceaf3258bd75cf75c84013..3e790f5dcbeee606ac4afc9198e052c628108aab 100644 (file)
@@ -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