summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorJames Rowe <jroweboy@gmail.com>2018-01-16 09:39:07 -0700
committerJames Rowe <jroweboy@gmail.com>2018-01-16 09:39:07 -0700
commit2d7a85f7afc2240c5dd0ac35f5981382c494d81c (patch)
tree7172b3f7b0da6bc9377532711f07da167f41da07 /src/core
parentb5b0d4e7c3adf840cbe3cc7b838e7ca7eca1ed96 (diff)
Build: Automagically handle unicorn
On MSVC if unicorn isn't found, fallback to bundled unicorn On everything else, fallback to building unicorn in externals Also fixes loading unicorn in msvc
Diffstat (limited to 'src/core')
-rw-r--r--src/core/arm/unicorn/arm_unicorn.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/arm/unicorn/arm_unicorn.cpp b/src/core/arm/unicorn/arm_unicorn.cpp
index 0cd519ea3..fd64eab39 100644
--- a/src/core/arm/unicorn/arm_unicorn.cpp
+++ b/src/core/arm/unicorn/arm_unicorn.cpp
@@ -11,7 +11,7 @@
#include "core/hle/kernel/svc.h"
// Load Unicorn DLL once on Windows using RAII
-#ifdef MSVC
+#ifdef _MSC_VER
#include <unicorn_dynload.h>
struct LoadDll {
private: