Cleanup autorun.h

This commit is contained in:
Alexander Batalov 2022-06-18 15:47:34 +03:00
parent aa723e75ca
commit 92fbd33579
2 changed files with 7 additions and 9 deletions

View File

@ -1,8 +1,14 @@
#include "autorun.h" #include "autorun.h"
#ifdef _WIN32
#define WIN32_LEAN_AND_MEAN
#define NOMINMAX
#include <windows.h>
#endif
#ifdef _WIN32 #ifdef _WIN32
// 0x530010 // 0x530010
HANDLE gInterplayGenericAutorunMutex; static HANDLE gInterplayGenericAutorunMutex;
#endif #endif
// 0x4139C0 // 0x4139C0

View File

@ -1,14 +1,6 @@
#ifndef AUTORUN_H #ifndef AUTORUN_H
#define AUTORUN_H #define AUTORUN_H
#ifdef _WIN32
#define WIN32_LEAN_AND_MEAN
#define NOMINMAX
#include <windows.h>
extern HANDLE gInterplayGenericAutorunMutex;
#endif
bool autorunMutexCreate(); bool autorunMutexCreate();
void autorunMutexClose(); void autorunMutexClose();