Browse Source

win32: don't for _WIN32_WINNT to Win2K

If the system allows newer API's we should downversion it.
pull/75/head
Steve Lhomme 1 year ago
parent
commit
93b558f26b
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      caca/driver/win32.c

+ 2
- 0
caca/driver/win32.c View File

@@ -19,7 +19,9 @@

#if defined(USE_WIN32)

#if !defined(_WIN32_WINNT) || _WIN32_WINNT < 0x500 /* _WIN32_WINNT_WIN2K */
#define _WIN32_WINNT 0x500 /* Require WinXP or later */
#endif
#define WIN32_LEAN_AND_MEAN
#include <windows.h>



Loading…
Cancel
Save