]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/baconfig.h
Update version + date
[bacula/bacula] / bacula / src / baconfig.h
index f9f7807ec1b8e9e1a6c50bddfb9234d38bb93360..cbcd954ce0ad0c68f5d0a4967aed7d78e4e939ab 100644 (file)
@@ -58,6 +58,8 @@
 #define ioctl_req_t int
 #endif
 
+#define MANUAL_AUTH_URL "http://www.bacula.org/en/rel-manual/Bacula_Freque_Asked_Questi.html#SECTION003760000000000000000"
+
 #ifdef PROTOTYPES
 # define __PROTO(p)     p
 #else
@@ -507,35 +509,37 @@ int  m_msg(const char *file, int line, POOLMEM *&pool_buf, const char *fmt, ...)
  *               OS Dependent defines
  * ============================================================= 
  */
-
-#ifndef HAVE_FSEEKO
-/* Bad news. This OS cannot handle 64 bit fseeks and ftells */
-#define fseeko fseek
-#define ftello ftell
-#endif
-
 #if defined (__digital__) && defined (__unix__)
 /* Tru64 - it does have fseeko and ftello , but since ftell/fseek are also 64 bit */
 /* take this 'shortcut' */
 #define fseeko fseek
 #define ftello ftell
+#else
+#ifndef HAVE_FSEEKO
+/* Bad news. This OS cannot handle 64 bit fseeks and ftells */
+#define fseeko fseek
+#define ftello ftell
+#endif
 #endif
-
 
 #ifdef HAVE_SUN_OS
-   /**
-    * On Solaris 2.5, threads are not timesliced by default, so we need to
-    * explictly increase the conncurrency level.
-    */
+/*
+ * On Solaris 2.5/2.6/7 and 8, threads are not timesliced by default,
+ * so we need to explictly increase the conncurrency level.
+ */
+#ifdef USE_THR_SETCONCURRENCY
 #include <thread.h>
 #define set_thread_concurrency(x)  thr_setconcurrency(x)
 extern int thr_setconcurrency(int);
 #define SunOS 1
-
 #else
+#define set_thread_concurrency(x)
+#endif
 
-
-/** Not needed on most systems */
+#else
+/*
+ * Not needed on most systems
+ */
 #define set_thread_concurrency(x)
 
 #endif
@@ -551,8 +555,6 @@ int getdomainname(char *name, int len);
 #endif /* __cplusplus */
 #endif /* HAVE_DARWIN_OS */
 
-
-
 #if defined(HAVE_WIN32)
 /*
  *   Windows