Prepare fix for datatypes, not final

This commit is contained in:
Jens Steube
2016-01-15 17:16:43 +01:00
parent 2e61685f48
commit 63e06f582b
15 changed files with 2367 additions and 2372 deletions
+10 -3
View File
@@ -45,7 +45,7 @@
#include <sys/ioctl.h>
#endif
typedef void *HM_LIB;
typedef void *HM_LIB;
#endif
#ifdef _WIN
@@ -76,6 +76,13 @@ typedef HINSTANCE HM_LIB;
#endif
typedef uint8_t u8;
typedef uint16_t u16;
typedef uint32_t u32;
typedef uint64_t u64;
typedef uint32_t uint; // we need to get rid of this sooner or later, for consistency
#define SPEED_CACHE 128
#define SPEED_MAXAGE 4096
@@ -94,7 +101,7 @@ void log_out (FILE *fp, const char *fmt, ...);
void log_info (const char *fmt, ...);
void log_error (const char *fmt, ...);
typedef uint32_t uint; // we should rename to u32, sooner or later, for consistency
typedef uint64_t u64;
#define MIN(a,b) (((a) < (b)) ? (a) : (b))
#define MAX(a,b) (((a) > (b)) ? (a) : (b))
#endif