mirror of
https://github.com/mumble-voip/mumble.git
synced 2025-10-26 11:19:16 +00:00
overlay: remove unnecessary _WIN32_WINNT definition, add missing includes
This commit also changes <math.h> to <cmath>, because the former is deprecated and causes build errors.
This commit is contained in:
parent
a8685afe56
commit
ca21e276d1
@ -6,19 +6,17 @@
|
||||
#ifndef MUMBLE_HARDHOOK_MINHOOK_H_
|
||||
#define MUMBLE_HARDHOOK_MINHOOK_H_
|
||||
|
||||
#define _UNICODE
|
||||
#ifndef _WIN32_WINNT
|
||||
#define _WIN32_WINNT 0x0501
|
||||
#endif
|
||||
#include <stdio.h>
|
||||
#include <stdarg.h>
|
||||
#include <ctype.h>
|
||||
#include <windows.h>
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
#include <map>
|
||||
#include <vector>
|
||||
#include <string>
|
||||
|
||||
#include <windows.h>
|
||||
#include <unknwn.h>
|
||||
|
||||
typedef void *(*voidFunc)();
|
||||
|
||||
struct HardHook {
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
#include <stdarg.h>
|
||||
#include <ctype.h>
|
||||
#include <windows.h>
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
#include <map>
|
||||
#include <vector>
|
||||
#include <string>
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
#include <stdarg.h>
|
||||
#include <ctype.h>
|
||||
#include <windows.h>
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
#include <map>
|
||||
#include <vector>
|
||||
#include <string>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user