Skip to content

Commit

Permalink
[ssl] Move WIN32_LEAN_AND_MEAN to threading_alt.h
Browse files Browse the repository at this point in the history
  • Loading branch information
tobil4sk committed Jul 5, 2024
1 parent be45fff commit a51f140
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions src/hx/libs/ssl/Build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
<compilerflag value="-std=c99" unless="MSVC_VER"/>
<compilerflag value="-I${MBEDTLS_DIR}/include"/>
<compilerflag value="-I${this_dir}"/>
<compilerflag value="-DWIN32_LEAN_AND_MEAN" if="windows"/>
<compilerflag value="-DMBEDTLS_USER_CONFIG_FILE=&lt;mbedtls_config.h&gt;"/>
<compilerflag value="-DMBEDTLS_USER_CONFIG_FILE=&lt;mbedtls_config.h&gt;"/>

<file name="${this_dir}/SSL.cpp"/>

Expand Down
1 change: 1 addition & 0 deletions src/hx/libs/ssl/threading_alt.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#define WIN32_LEAN_AND_MEAN
#include <windows.h>

typedef struct {
Expand Down

0 comments on commit a51f140

Please sign in to comment.