windows_inc.h in two more places

git-svn-id: https://svn.eduke32.com/eduke32@6069 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2017-02-25 08:15:01 +00:00
parent 05c4fa61f6
commit 6d7191b848
3 changed files with 14 additions and 3 deletions

View file

@ -39,6 +39,16 @@
# undef NEED_SHELLAPI_H
#endif
#ifdef NEED_SHLWAPI_H
# include <shlwapi.h>
# undef NEED_SHLWAPI_H
#endif
#ifdef NEED_SHLOBJ_H
# include <shlobj.h>
# undef NEED_SHLOBJ_H
#endif
#ifdef NEED_WS2TCPIP_H
# include <ws2tcpip.h>
# undef NEED_WS2TCPIP_H

View file

@ -15,7 +15,8 @@
#include "compat.h"
#ifdef _WIN32
# include <shlobj.h>
# define NEED_SHLOBJ_H
# include "windows_inc.h"
# include <direct.h>
#elif __APPLE__
# include "osxbits.h"

View file

@ -10,9 +10,9 @@
#include "grpscan.h"
#ifdef _WIN32
# define NEED_SHLWAPI_H
# include "windows_inc.h"
# include "winbits.h"
# include <shlwapi.h>
# include <winnt.h>
# ifndef KEY_WOW64_32KEY
# define KEY_WOW64_32KEY 0x0200
# endif