summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2018-06-29 23:50:41 -0400
committer AJR <ajrhacker@users.noreply.github.com>2018-06-29 23:50:50 -0400
commit989ce6d988e65c5866a52da5fadd9aacb33ca777 (patch)
tree1b8101189deca6ca3e5cba2b78df352697738ab3
parenta5bca54a8a014e4c35a7a4ea19a48d70b40c8850 (diff)
How to remove unwanted macros, or: getting out of discovered "check" (nw)
This fixes the OS X build.
-rw-r--r--src/osd/modules/debugger/osx/debugosx.h2
-rw-r--r--src/osd/sdl/sdlmain.cpp1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/osd/modules/debugger/osx/debugosx.h b/src/osd/modules/debugger/osx/debugosx.h
index b07aa3a088d..9d48402c032 100644
--- a/src/osd/modules/debugger/osx/debugosx.h
+++ b/src/osd/modules/debugger/osx/debugosx.h
@@ -9,6 +9,8 @@
#ifndef __SDL_DEBUGOSX__
#define __SDL_DEBUGOSX__
+#define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0
+
// make sure this comes first
#include <AvailabilityMacros.h>
diff --git a/src/osd/sdl/sdlmain.cpp b/src/osd/sdl/sdlmain.cpp
index a819c409467..ce8454b97db 100644
--- a/src/osd/sdl/sdlmain.cpp
+++ b/src/osd/sdl/sdlmain.cpp
@@ -18,6 +18,7 @@
#endif
#endif
#ifdef SDLMAME_MACOSX
+#define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0
#include <Carbon/Carbon.h>
#endif
#endif