Commit 88b45b49 authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

wininet: Use CHAR_BIT from msvcrt limits.h.

parent 60c20ee2
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
#include "ws2tcpip.h" #include "ws2tcpip.h"
#include <limits.h>
#include <stdarg.h> #include <stdarg.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
...@@ -52,10 +53,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(wininet); ...@@ -52,10 +53,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(wininet);
static const char urlcache_ver_prefix[] = "WINE URLCache Ver "; static const char urlcache_ver_prefix[] = "WINE URLCache Ver ";
static const char urlcache_ver[] = "0.2012001"; static const char urlcache_ver[] = "0.2012001";
#ifndef CHAR_BIT
#define CHAR_BIT (8 * sizeof(CHAR))
#endif
#define ENTRY_START_OFFSET 0x4000 #define ENTRY_START_OFFSET 0x4000
#define DIR_LENGTH 8 #define DIR_LENGTH 8
#define MAX_DIR_NO 0x20 #define MAX_DIR_NO 0x20
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment