Several fixes to build under stricter C++11

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.
This commit is contained in:
Diogo Franco (Kovensky) authored and Kovensky committed 2012-11-21 14:33:50 -03:00
1 parent cd93e49584
commit 6108e36ae9
25 files changed
+52 -11

No files matched your search

+4
View File
@@ -21,6 +21,10 @@
#include "../XPTheme.h"
#endif
#include <windows.h>
#include <windowsx.h>
#include <commctrl.h>
namespace MainWindow
{
void UpdateMenus();