Skip to content

Commit

Permalink
Fix Windows compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
codereader committed Feb 4, 2017
1 parent f57afc7 commit e16277b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
1 change: 0 additions & 1 deletion include/precompiled_interfaces.h
Expand Up @@ -77,7 +77,6 @@
#include "iresourcechooser.h"
#include "iscenegraph.h"
#include "iscenegraphfactory.h"
#include "iscript.h"
#include "iselectable.h"
#include "iselection.h"
#include "iselectiongroup.h"
Expand Down
2 changes: 2 additions & 0 deletions radiant/main.cpp
Expand Up @@ -17,7 +17,9 @@
#include <wx/app.h>
#include <wx/cmdline.h>

#ifdef POSIX
#include <libintl.h>
#endif
#include <exception>

#if defined (_DEBUG) && defined (WIN32) && defined (_MSC_VER)
Expand Down
4 changes: 2 additions & 2 deletions radiant/selection/ManipulateMouseTool.cpp
Expand Up @@ -158,7 +158,7 @@ void ManipulateMouseTool::handleMouseMove(const render::View& view, const Vector
GlobalUndoSystem().start();
}

#if _DEBUG
#ifdef _DEBUG
Matrix4 device2pivot = constructDevice2Pivot(_pivot2worldStart, view);
Matrix4 pivot2device = constructPivot2Device(_pivot2worldStart, view);

Expand Down Expand Up @@ -314,7 +314,7 @@ bool ManipulateMouseTool::nothingSelected() const

void ManipulateMouseTool::renderOverlay()
{
#if _DEBUG
#ifdef _DEBUG
std::vector<std::string> lines;
boost::algorithm::split(lines, _debugText, boost::algorithm::is_any_of("\n"));

Expand Down
2 changes: 1 addition & 1 deletion radiant/selection/ManipulateMouseTool.h
Expand Up @@ -31,7 +31,7 @@ class ManipulateMouseTool :
Vector2 _deviceStart;
bool _undoBegun;

#if _DEBUG
#ifdef _DEBUG
std::string _debugText;
#endif

Expand Down

0 comments on commit e16277b

Please sign in to comment.