Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
9d770d60
Commit
9d770d60
authored
Jan 11, 2013
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
GlobalEvents: #undef DELETE on Windows
Work around a build failure due to windows.h macro.
parent
7f0297dc
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
GlobalEvents.hxx
src/GlobalEvents.hxx
+8
-0
No files found.
src/GlobalEvents.hxx
View file @
9d770d60
...
@@ -20,6 +20,14 @@
...
@@ -20,6 +20,14 @@
#ifndef MPD_GLOBAL_EVENTS_HXX
#ifndef MPD_GLOBAL_EVENTS_HXX
#define MPD_GLOBAL_EVENTS_HXX
#define MPD_GLOBAL_EVENTS_HXX
#ifdef WIN32
/* DELETE is a WIN32 macro that poisons our namespace; this is a
kludge to allow us to use it anyway */
#ifdef DELETE
#undef DELETE
#endif
#endif
namespace
GlobalEvents
{
namespace
GlobalEvents
{
enum
Event
{
enum
Event
{
/** database update was finished */
/** database update was finished */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment