Commit 82b3f53d authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf

win32: don't override _WIN32_WINNT if a more recent one is defined

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 7785d8c2
......@@ -18,7 +18,11 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
#define _WIN32_WINNT 0x600
#if !defined(_WIN32_WINNT) || _WIN32_WINNT < 0x600
# undef _WIN32_WINNT
# define _WIN32_WINNT 0x600
#endif
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
......
......@@ -18,7 +18,11 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
#define _WIN32_WINNT 0x600
#if !defined(_WIN32_WINNT) || _WIN32_WINNT < 0x600
# undef _WIN32_WINNT
# define _WIN32_WINNT 0x600
#endif
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
......
......@@ -24,10 +24,10 @@
#ifndef VLC_GESTURE_H_
#define VLC_GESTURE_H_
# ifdef _WIN32_WINNT
# if !defined(_WIN32_WINNT) || _WIN32_WINNT < 0x601
# undef _WIN32_WINNT
# define _WIN32_WINNT 0x0601
# endif
# define _WIN32_WINNT 0x0601
# include <windows.h>
# include <winuser.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment