From 87816f811f0a415688b46cb2a504ded87c9ec68f Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 25 Nov 2017 10:58:33 +0100 Subject: [PATCH] - removed windows.h include from a few files which do not need it anymore. --- src/sound/mpg123_decoder.cpp | 4 ---- src/sound/oalsound.cpp | 7 ------- src/sound/sndfile_decoder.cpp | 5 ----- src/win32/win32video.cpp | 2 +- 4 files changed, 1 insertion(+), 17 deletions(-) diff --git a/src/sound/mpg123_decoder.cpp b/src/sound/mpg123_decoder.cpp index 27a26c7473..f8d946429d 100644 --- a/src/sound/mpg123_decoder.cpp +++ b/src/sound/mpg123_decoder.cpp @@ -30,10 +30,6 @@ **--------------------------------------------------------------------------- ** */ -#ifdef _WIN32 -#define WIN32_LEAN_AND_MEAN -#include -#endif #include "mpg123_decoder.h" #include "files.h" diff --git a/src/sound/oalsound.cpp b/src/sound/oalsound.cpp index c2867804d3..f0cf6342fa 100644 --- a/src/sound/oalsound.cpp +++ b/src/sound/oalsound.cpp @@ -32,13 +32,6 @@ ** */ -#ifdef _WIN32 -#define WIN32_LEAN_AND_MEAN -#include -#else -#include -#endif - #include #include #include diff --git a/src/sound/sndfile_decoder.cpp b/src/sound/sndfile_decoder.cpp index a46f0146b3..6fa5c5c075 100644 --- a/src/sound/sndfile_decoder.cpp +++ b/src/sound/sndfile_decoder.cpp @@ -30,11 +30,6 @@ **--------------------------------------------------------------------------- ** */ -#ifdef _WIN32 -#define WIN32_LEAN_AND_MEAN -#include -#endif - #include "sndfile_decoder.h" #include "templates.h" #include "files.h" diff --git a/src/win32/win32video.cpp b/src/win32/win32video.cpp index 5a26a876b6..3ef45e6de2 100644 --- a/src/win32/win32video.cpp +++ b/src/win32/win32video.cpp @@ -820,7 +820,7 @@ void I_SetFPSLimit(int limit) { CloseHandle(FPSLimitEvent); FPSLimitEvent = NULL; - Printf("Failed to create FPS limitter timer\n"); + Printf("Failed to create FPS limiter timer\n"); return; } DPrintf(DMSG_NOTIFY, "FPS timer set to %u ms\n", period);