From 132bec0237469fb60bdec4b51cee0ed805615d62 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 9 May 2015 18:07:59 +0200 Subject: [PATCH] (D3D) Fix warning --- gfx/d3d/d3d.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gfx/d3d/d3d.cpp b/gfx/d3d/d3d.cpp index 2f31970769..4f4c8d2235 100644 --- a/gfx/d3d/d3d.cpp +++ b/gfx/d3d/d3d.cpp @@ -73,7 +73,9 @@ static void d3d_free_overlay(d3d_video_t *d3d, overlay_t *overlay); #define IDI_ICON 1 +#ifndef MAX_MONITORS #define MAX_MONITORS 9 +#endif extern LRESULT CALLBACK WindowProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);