Skip to content

Commit 467b93e

Browse files
committed
i am stupid fuck
1 parent 71b6cce commit 467b93e

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

libhb/handbrake/handbrake.h

+2
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ extern "C" {
2626
/* hb_init()
2727
Initializes a libhb session (launches his own thread, detects CPUs,
2828
etc) */
29+
#define WINVER 0x600
30+
#define _WIN32_WINNT 0x600
2931
#define HB_DEBUG_NONE 0
3032
#define HB_DEBUG_ALL 1
3133
#define HB_PREVIEW_FORMAT_YUV 0

libhb/hb.c

-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@
2323

2424
#if defined( SYS_MINGW )
2525
#include <io.h>
26-
#define WINVER 0x600
27-
#define _WIN32_WINNT 0x600
2826
#if defined(PTW32_VERSION)
2927
#include <pthread.h>
3028
#endif

make/configure.py

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
##
77
###############################################################################
88

9+
set CL=/D_WIN32_WINNT=0x0600 /DWINVER=0x0600 %CL%
10+
911
import fnmatch
1012
import glob
1113
import json

0 commit comments

Comments
 (0)