mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-10 13:06:24 +02:00
Add missing #include to various files. strings.h isn't provided by MSVC so we don't include it there; it's needed for other OSes/compilers. Get rid of pre-ISO-C malloc.h includes; malloc is provided by stdlib.h. Fixes some linuxisms. Prepend __builtin_ to __clear_cache, calling it without the prefix is a GNU extension.
11 lines
265 B
C++
11 lines
265 B
C++
#pragma once
|
|
|
|
#include <windows.h>
|
|
|
|
namespace W32Util
|
|
{
|
|
void CenterWindow(HWND hwnd);
|
|
HBITMAP CreateBitmapFromARGB(HWND someHwnd, DWORD *image, int w, int h);
|
|
void NiceSizeFormat(size_t size, char *out);
|
|
BOOL CopyTextToClipboard(HWND hwnd, const TCHAR *text);
|
|
} |