diff --git a/include/http_listen.h b/include/http_listen.h index 2ec9f8b..0b467f8 100644 --- a/include/http_listen.h +++ b/include/http_listen.h @@ -162,7 +162,7 @@ typedef struct http_listen { #ifdef UNIX void * cbhandle; #endif -#ifdef _WIN32 +#if defined(_WIN32) || defined(_WIN64) HMODULE cbhandle; #endif diff --git a/include/http_sndpxy.h b/include/http_sndpxy.h index 4d95e66..bcc8774 100644 --- a/include/http_sndpxy.h +++ b/include/http_sndpxy.h @@ -10,7 +10,7 @@ #include #endif -#ifdef _WIN32 +#if defined(_WIN32) || defined(_WIN64) #define PCRE_STATIC 1 #include "pcre.h" #endif @@ -24,7 +24,7 @@ typedef struct cli_send_proxy_s { #ifdef UNIX regex_t * preg; #endif -#ifdef _WIN32 +#if defined(_WIN32) || defined(_WIN64) pcre * preg; #endif