]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/bc_types.h
remove GROUP BY on db_get_job_volume_names. REVIEW.
[bacula/bacula] / bacula / src / bc_types.h
index e0916b2ecec811fdcafe61cfc24e0289a7f91775..a27c3270dfee06b1f0f03341a6ae50ad320caf44 100644 (file)
@@ -8,7 +8,6 @@
 
     int8_t,  int16_t,  int32_t,  int64_t
     uint8_t, uint16_t, uint32_t, uint64_t
-    float32_t, float64_t
 
     Also, we define types such as file address lengths.
 
 
 typedef char POOLMEM;   
 #define mp_chr(x) x
-#ifdef xxxxx
+#ifdef  xxxxx
 #define mp_chr(x) ((char*)(x))
-struct POOLMEM { };
+class POOLMEM { 
+public:
+   POOLMEM();
+   operator char * const() { return this; }
+};
 #endif
 
+
 /* Types */
 
 /* If sys/types.h does not supply intXX_t, supply them ourselves */
@@ -177,7 +181,7 @@ typedef float             float32_t;
 #define uintmax_t u_intmax_t
 
 /* Bacula time -- Unix time with microseconds */
-#define btime_t uint64_t
+#define btime_t int64_t
 /* Unix time (time_t) widened to 64 bits */
 #define utime_t int64_t