mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-06-11 12:14:53 +08:00
Merge pull request #7816 from pi1024e/headers
Replace deprecated C headers with their C++ equivalent
This commit is contained in:
commit
5b85e942f1
@ -2,8 +2,8 @@
|
|||||||
// Do not define WIN32_LEAN_AND_MEAN as WinUI doesn't work when it is defined
|
// Do not define WIN32_LEAN_AND_MEAN as WinUI doesn't work when it is defined
|
||||||
#include <unknwn.h>
|
#include <unknwn.h>
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <stdlib.h>
|
#include <cstdlib>
|
||||||
#include <string.h>
|
#include <cstring>
|
||||||
#include <thread>
|
#include <thread>
|
||||||
#include <winrt/Windows.system.h>
|
#include <winrt/Windows.system.h>
|
||||||
#include <winrt/windows.ui.xaml.hosting.h>
|
#include <winrt/windows.ui.xaml.hosting.h>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <stdlib.h>
|
#include <cstdlib>
|
||||||
#include <string.h>
|
#include <cstring>
|
||||||
#include <shlwapi.h>
|
#include <shlwapi.h>
|
||||||
#include <shlobj.h>
|
#include <shlobj.h>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user