summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/util/coretmpl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/util/coretmpl.h')
-rw-r--r--src/lib/util/coretmpl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/util/coretmpl.h b/src/lib/util/coretmpl.h
index c441aabb147..e1dd388511b 100644
--- a/src/lib/util/coretmpl.h
+++ b/src/lib/util/coretmpl.h
@@ -127,7 +127,7 @@ private:
global_free_array(oldarray);
}
-#ifdef __GNUC__
+#if defined(__GNUC__) && !defined(SDLMAME_MACOSX)
void clear_internal(UINT32 start, UINT32 count, UINT8 data) { assert(__is_pod(_ElementType)); memset((void *)&m_array[start], data, count * sizeof(*m_array)); }
#else
void clear_internal(UINT32 start, UINT32 count, UINT8 data) { memset(&m_array[start], data, count * sizeof(*m_array)); }