Skip to content

Commit 5d465b5

Browse files
committed
ugh macro
1 parent fe1aa03 commit 5d465b5

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

game/platform.cc

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
#include <fcntl.h>
1515
#include <IntSafe.h>
1616
#include <ProcessEnv.h>
17+
#define NOGDI
1718
#include <wincon.h>
1819

1920
#elif (BOOST_OS_MACOS)

game/platform/execname.win.inc

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#ifndef WIN32_LEAN_AND_MEAN
22
#define WIN32_LEAN_AND_MEAN
33
#endif
4+
#define NOGDI
45
#include <windows.h>
56

67
fs::path execname() {

game/song.hh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#pragma once
2-
2+
#define ERROR 69
33
#include "fs.hh"
44
#include "i18n.hh"
55
#include "json.hh"

0 commit comments

Comments
 (0)