From 1a9788a0c95aa6941a0f1533569dc14d5e4967d6 Mon Sep 17 00:00:00 2001 From: Lao Ke <36225368+kehengzhong@users.noreply.github.com> Date: Sat, 4 Sep 2021 14:28:21 +0800 Subject: [PATCH] Add files via upload --- include/http_listen.h | 2 +- include/http_sndpxy.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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