Skip to content
Snippets Groups Projects
Commit 57201eb4 authored by Fredrik Hübinette (Hubbe)'s avatar Fredrik Hübinette (Hubbe)
Browse files

now compiles on NT

Rev: src/modules/HTTPLoop/accept_and_parse.h:1.5
parent fa4176be
No related branches found
No related tags found
No related merge requests found
/* #define AAP_DEBUG 1 */ /* #define AAP_DEBUG 1 */
#define CACHE_HTABLE_SIZE 40951 #define CACHE_HTABLE_SIZE 40951
#ifndef __NT__
#ifdef HAVE_SIGNAL #ifdef HAVE_SIGNAL
# define HAVE_TIMEOUTS # define HAVE_TIMEOUTS
#endif #endif
#endif
struct res struct res
{ {
...@@ -66,13 +68,19 @@ struct filesystem ...@@ -66,13 +68,19 @@ struct filesystem
#endif #endif
}; };
#ifdef INT64
#define LONG_LONG INT64
#else
#define LONG_LONG long
#endif
struct cache struct cache
{ {
MUTEX_T mutex; MUTEX_T mutex;
struct cache *next; struct cache *next;
struct cache_entry *htable[CACHE_HTABLE_SIZE]; struct cache_entry *htable[CACHE_HTABLE_SIZE];
unsigned long long size, entries, max_size; unsigned LONG_LONG size, entries, max_size;
unsigned long long hits, misses, stale; unsigned LONG_LONG hits, misses, stale;
unsigned int num_requests, sent_data, received_data; unsigned int num_requests, sent_data, received_data;
int gone; int gone;
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment