File tree 2 files changed +8
-1
lines changed
2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 22
22
#define ARM
23
23
#endif
24
24
25
+ #ifdef _MSC_VER
26
+ # pragma warning(push)
27
+ # pragma warning (disable : 4668)
28
+ #endif
25
29
#define WIN32_LEAN_AND_MEAN
26
30
#include <windows.h>
27
31
#include <wincrypt.h>
32
+ #ifdef _MSC_VER
33
+ # pragma warning(pop)
34
+ #endif
28
35
29
36
static mp_err s_read_win_csp (void * p , size_t n )
30
37
{
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ PREFIX = c:\devel
14
14
CFLAGS = /Ox
15
15
16
16
#Compilation flags
17
- LTM_CFLAGS = /nologo /I./ /D_CRT_SECURE_NO_WARNINGS /D_CRT_NONSTDC_NO_DEPRECATE /D__STDC_WANT_SECURE_LIB__=0 /Wall /wd4146 /wd4127 /wd4710 /wd4711 /wd4820 $(CFLAGS)
17
+ LTM_CFLAGS = /nologo /I./ /D_CRT_SECURE_NO_WARNINGS /D_CRT_NONSTDC_NO_DEPRECATE /D__STDC_WANT_SECURE_LIB__=1 /Wall /wd4146 /wd4127 /wd4710 /wd4711 /wd4820 $(CFLAGS)
18
18
LTM_LDFLAGS = advapi32.lib
19
19
20
20
#Libraries to be created (this makefile builds only static libraries)
You can’t perform that action at this time.
0 commit comments