Replace deprecated headers

To remove warnings about deprecated headers and for more robust C++, this replaces the deprecated C header with its C++ equivalent.
This commit is contained in:
pi1024e 2020-11-03 13:59:35 -05:00
parent 35cf50c796
commit 859e674c11
2 changed files with 4 additions and 4 deletions

View file

@ -2,8 +2,8 @@
// Do not define WIN32_LEAN_AND_MEAN as WinUI doesn't work when it is defined
#include <unknwn.h>
#include <windows.h>
#include <stdlib.h>
#include <string.h>
#include <cstdlib>
#include <cstring>
#include <thread>
#include <winrt/Windows.system.h>
#include <winrt/windows.ui.xaml.hosting.h>

View file

@ -1,6 +1,6 @@
#include <windows.h>
#include <stdlib.h>
#include <string.h>
#include <cstdlib>
#include <cstring>
#include <shlwapi.h>
#include <shlobj.h>