Patch from nico_ga: libmv can be compiled with icc now

This commit is contained in:
Sergey Sharybin
2011-11-15 08:43:28 +00:00
parent 5cf345f860
commit ae046bc0eb

View File

@@ -131,7 +131,7 @@
#define PACKAGE_VERSION "0.3.1"
/* How to access the PC from a struct ucontext */
#if defined(_M_X64) || defined(__amd64__)
#if defined(_M_X64) || defined(__amd64__) || defined(__x86_64__)
#define PC_FROM_UCONTEXT uc_mcontext.gregs[REG_RIP]
#else
#define PC_FROM_UCONTEXT uc_mcontext.gregs[REG_EIP]