summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author smf- <smf-@users.noreply.github.com>2016-08-26 00:21:50 +0100
committer smf- <smf-@users.noreply.github.com>2016-08-26 00:23:02 +0100
commitc1b041e8345492d1ca75edc0ed161e36a844494e (patch)
treed349b94cbd6396a10147e1473fd714ac4fa5c515
parent4026809b0ddf3eb9b3602ea0e0033c24f99c70c7 (diff)
hacks for MSVC building until better solutions are found. (nw)
-rw-r--r--src/emu/devfind.h2
-rw-r--r--src/mame/drivers/vgmplay.cpp4
2 files changed, 5 insertions, 1 deletions
diff --git a/src/emu/devfind.h b/src/emu/devfind.h
index 663bede2c87..ee137f9126b 100644
--- a/src/emu/devfind.h
+++ b/src/emu/devfind.h
@@ -154,7 +154,7 @@ public:
void set_tag(const char *tag) { m_tag = tag; }
/// \brief Dummy tag always treated as not found
- constexpr static char DUMMY_TAG[] = "finder_dummy_tag";
+ constexpr static char DUMMY_TAG[17] = "finder_dummy_tag";
protected:
/// \brief Designated constructor
diff --git a/src/mame/drivers/vgmplay.cpp b/src/mame/drivers/vgmplay.cpp
index 1afb814012e..52d605f9729 100644
--- a/src/mame/drivers/vgmplay.cpp
+++ b/src/mame/drivers/vgmplay.cpp
@@ -4,7 +4,11 @@
// A "virtual" driver to play vgm files
// Use with mame vgmplay -bitb file.vgm
+#if defined(_MSC_VER)
#include "zlib/zlib.h"
+#else
+#include <zlib.h>
+#endif
#include "emu.h"
#include "debugger.h"