[x265] [PATCH] Fix : mingw32 build error

radhakrishnan at multicorewareinc.com radhakrishnan at multicorewareinc.com
Mon Mar 13 05:30:11 CET 2017


# HG changeset patch
# User Radhakrishnan <radhakrishnan at multicorewareinc.com>
# Date 1489041759 -19800
#      Thu Mar 09 12:12:39 2017 +0530
# Node ID 92c80acea7003caae2c93cadc254167a1a0c449c
# Parent  6e348252e90234f7dbde5406f6a4a8b5ef18ceb9
Fix : mingw32 build error

diff -r 6e348252e902 -r 92c80acea700 source/x265.cpp
--- a/source/x265.cpp	Mon Feb 27 12:04:27 2017 +0530
+++ b/source/x265.cpp	Thu Mar 09 12:12:39 2017 +0530
@@ -50,6 +50,7 @@
 #define CONSOLE_TITLE_SIZE 200
 #ifdef _WIN32
 #include <windows.h>
+#define SetThreadExecutionState(es)
 static char orgConsoleTitle[CONSOLE_TITLE_SIZE] = "";
 #else
 #define GetConsoleTitle(t, n)


More information about the x265-devel mailing list