]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/version.h
Small change to allow the compiler to optimize it easier due to the constant.
[bacula/bacula] / bacula / src / version.h
index ca68684c2246fab32525aab64025c46cdf01fc47..4c3741e95e42132cfbbb39dc806d7fa2af8fb1d2 100644 (file)
@@ -3,9 +3,9 @@
  */
 
 #undef  VERSION
-#define VERSION "2.5.44"
-#define BDATE   "28  March 2009"
-#define LSMDATE "28Mar09"
+#define VERSION "3.0.2"
+#define BDATE   "02 July 2009"
+#define LSMDATE "02Jul09"
 
 #define PROG_COPYRIGHT "Copyright (C) %d-2009 Free Software Foundation Europe e.V.\n"
 #define BYEAR "2009"       /* year for copyright messages in progs */
  *  penalties.
  */
 #ifdef DEVELOPER
-#define SMCHECK
+# define SMCHECK
+#endif
+
+/*
+ * _USE_LOCKMGR does lock/unlock mutex tracking (dead lock)
+ *   it can always be turned on, but we advise to use it only
+ *   for debug
+ */
+#if DEVELOPER
+# ifndef _USE_LOCKMGR
+#  define _USE_LOCKMGR
+# endif
+#endif
+
+#if !HAVE_LINUX_OS
+# undef _USE_LOCKMGR
 #endif
 
 /*
  *  run regress test.
  */
 #ifdef HAVE_LINUX_OS
-#define USE_VTAPE
+# define USE_VTAPE
 #endif
 
 /* 
  * for fastest speed but you must have a UPS to avoid unwanted shutdowns
  */
-#define SQLITE3_INIT_QUERY "PRAGMA synchronous = OFF"
+//#define SQLITE3_INIT_QUERY "PRAGMA synchronous = OFF"
 
 /*
  * for more safety, but is 30 times slower than above
  */
-//#define SQLITE3_INIT_QUERY "PRAGMA synchronous = NORMAL"
+#define SQLITE3_INIT_QUERY "PRAGMA synchronous = NORMAL"
 
 /*
  * This should always be on. It enables data encryption code