mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 23:01:50 +00:00
- removed windows.h include from a few files which do not need it anymore.
This commit is contained in:
parent
6d43c5cdc6
commit
87816f811f
4 changed files with 1 additions and 17 deletions
|
@ -30,10 +30,6 @@
|
||||||
**---------------------------------------------------------------------------
|
**---------------------------------------------------------------------------
|
||||||
**
|
**
|
||||||
*/
|
*/
|
||||||
#ifdef _WIN32
|
|
||||||
#define WIN32_LEAN_AND_MEAN
|
|
||||||
#include <windows.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "mpg123_decoder.h"
|
#include "mpg123_decoder.h"
|
||||||
#include "files.h"
|
#include "files.h"
|
||||||
|
|
|
@ -32,13 +32,6 @@
|
||||||
**
|
**
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef _WIN32
|
|
||||||
#define WIN32_LEAN_AND_MEAN
|
|
||||||
#include <windows.h>
|
|
||||||
#else
|
|
||||||
#include <dlfcn.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <functional>
|
#include <functional>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <chrono>
|
#include <chrono>
|
||||||
|
|
|
@ -30,11 +30,6 @@
|
||||||
**---------------------------------------------------------------------------
|
**---------------------------------------------------------------------------
|
||||||
**
|
**
|
||||||
*/
|
*/
|
||||||
#ifdef _WIN32
|
|
||||||
#define WIN32_LEAN_AND_MEAN
|
|
||||||
#include <windows.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "sndfile_decoder.h"
|
#include "sndfile_decoder.h"
|
||||||
#include "templates.h"
|
#include "templates.h"
|
||||||
#include "files.h"
|
#include "files.h"
|
||||||
|
|
|
@ -820,7 +820,7 @@ void I_SetFPSLimit(int limit)
|
||||||
{
|
{
|
||||||
CloseHandle(FPSLimitEvent);
|
CloseHandle(FPSLimitEvent);
|
||||||
FPSLimitEvent = NULL;
|
FPSLimitEvent = NULL;
|
||||||
Printf("Failed to create FPS limitter timer\n");
|
Printf("Failed to create FPS limiter timer\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
DPrintf(DMSG_NOTIFY, "FPS timer set to %u ms\n", period);
|
DPrintf(DMSG_NOTIFY, "FPS timer set to %u ms\n", period);
|
||||||
|
|
Loading…
Reference in a new issue