wininet: Use CHAR_BIT from msvcrt limits.h.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
60c20ee2c5
commit
88b45b49fe
|
@ -27,6 +27,7 @@
|
|||
|
||||
#include "ws2tcpip.h"
|
||||
|
||||
#include <limits.h>
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
@ -52,10 +53,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(wininet);
|
|||
static const char urlcache_ver_prefix[] = "WINE URLCache Ver ";
|
||||
static const char urlcache_ver[] = "0.2012001";
|
||||
|
||||
#ifndef CHAR_BIT
|
||||
#define CHAR_BIT (8 * sizeof(CHAR))
|
||||
#endif
|
||||
|
||||
#define ENTRY_START_OFFSET 0x4000
|
||||
#define DIR_LENGTH 8
|
||||
#define MAX_DIR_NO 0x20
|
||||
|
|
Loading…
Reference in New Issue