fixed MinGW warning about NOMINMAX

This commit is contained in:
Mathew Sutcliffe
2014-07-18 23:30:56 +01:00
parent 567025bdbd
commit 891bfbba28
4 changed files with 8 additions and 0 deletions

View File

@@ -3,7 +3,9 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef NOMINMAX
#define NOMINMAX
#endif
#include "plugin.h"
#include "utils.h"
#include "traffic.h"

View File

@@ -13,7 +13,9 @@
* Plugin loaded by X-Plane which publishes a DBus service
*/
#ifndef NOMINMAX
#define NOMINMAX
#endif
#include "menus.h"
#pragma push_macro("interface")

View File

@@ -8,7 +8,9 @@
//! \file
#ifndef NOMINMAX
#define NOMINMAX
#endif
#include "datarefs.h"
#include "blackmisc/geodesicgrid.h"
#include <XPLM/XPLMNavigation.h>

View File

@@ -3,7 +3,9 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef NOMINMAX
#define NOMINMAX
#endif
#include "traffic.h"
#include "XPMPMultiplayer.h"
#include <XPLM/XPLMProcessing.h>