Skip to content
Permalink
Browse files

Get GetUserName out of the way on Windows

  • Loading branch information...
LBPHacker committed Apr 16, 2019
1 parent 2e76b10 commit 5810a19dbce5d24e274fe1323a0aa6f5036f6c58
@@ -7,6 +7,10 @@
#include <cstdlib>
#include <iostream>

#ifdef GetUserName
# undef GetUserName // dammit windows
#endif

class GameSave;

class SaveInfo
@@ -39,6 +39,10 @@
#endif
#include "lua/LuaEvents.h"

#ifdef GetUserName
# undef GetUserName // dammit windows
#endif

using namespace std;

class GameController::SearchCallback: public ControllerCallback
@@ -22,6 +22,9 @@
#include "simulation/SaveRenderer.h"
#include "simulation/SimulationData.h"

#ifdef GetUserName
# undef GetUserName // dammit windows
#endif

class SplitButton;
class SplitButtonAction
@@ -17,6 +17,10 @@
#include "gui/dialogues/ErrorMessage.h"
#include "common/tpt-rand.h"

#ifdef GetUserName
# undef GetUserName // dammit windows
#endif

class PreviewView::LoginAction: public ui::ButtonAction
{
PreviewView * v;
@@ -11,6 +11,10 @@
#include "Format.h"
#include "PowderToy.h"

#ifdef GetUserName
# undef GetUserName // dammit windows
#endif

SearchView::SearchView():
ui::Window(ui::Point(0, 0), ui::Point(WINDOWW, WINDOWH)),
c(NULL),

0 comments on commit 5810a19

Please sign in to comment.
You can’t perform that action at this time.