mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-13 21:06:17 +01:00
gutils: Remove dead code used for Windows SDK versions
We require a newer SDK version now, so this is not needed. Specifically, we set _WIN32_WINNT to 0x0601, which sets our SDK requirement to Windows 7+, and this code is only needed for MSVC 5.0, which is ancient.
This commit is contained in:
parent
c21892ee13
commit
fe01e81326
@ -95,28 +95,6 @@
|
|||||||
#ifdef G_OS_WIN32
|
#ifdef G_OS_WIN32
|
||||||
# include <direct.h>
|
# include <direct.h>
|
||||||
# include <shlobj.h>
|
# include <shlobj.h>
|
||||||
/* older SDK (e.g. msvc 5.0) does not have these*/
|
|
||||||
# ifndef CSIDL_MYMUSIC
|
|
||||||
# define CSIDL_MYMUSIC 13
|
|
||||||
# endif
|
|
||||||
# ifndef CSIDL_MYVIDEO
|
|
||||||
# define CSIDL_MYVIDEO 14
|
|
||||||
# endif
|
|
||||||
# ifndef CSIDL_INTERNET_CACHE
|
|
||||||
# define CSIDL_INTERNET_CACHE 32
|
|
||||||
# endif
|
|
||||||
# ifndef CSIDL_COMMON_APPDATA
|
|
||||||
# define CSIDL_COMMON_APPDATA 35
|
|
||||||
# endif
|
|
||||||
# ifndef CSIDL_MYPICTURES
|
|
||||||
# define CSIDL_MYPICTURES 0x27
|
|
||||||
# endif
|
|
||||||
# ifndef CSIDL_COMMON_DOCUMENTS
|
|
||||||
# define CSIDL_COMMON_DOCUMENTS 46
|
|
||||||
# endif
|
|
||||||
# ifndef CSIDL_PROFILE
|
|
||||||
# define CSIDL_PROFILE 40
|
|
||||||
# endif
|
|
||||||
# include <process.h>
|
# include <process.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user