unicorn/msvc/unicorn
Stuart Dootson c5bae30b1d
Add Visual Studio project files for PowerPC support (#1272)
* Fix 64-bit enums for MSVC

As Windows has 32 bit ints (x86 or x64), enums in the Microsoft C compiler are only 32 bits. The PPC machine description uses 64 bit enum values, which won't work for MSVC. Replace them with #defines

* Add `ffs` implementation for Microsoft C/C++

* Remove GCC function attributes for non-GCC compilers

* Add macro to provide MSVC definition of strncasecmp

* Workaround MSVC pre-processor deficiencies

The MSVC preprocessor doesn't appear to like having a #if/#endif within a macro invocation. To placate it, surround two instances of the macro invocation (with appropriately different arguments!) with #if/#else/#endif

* Add Visual Studio project files for PowerPC

* Forgot to add PPC import library to x64 configurations
2020-05-29 00:07:56 +08:00
..
aarch64-softmmu Two fixes to get unicorn build better with MSVC. (#1136) 2019-09-05 00:53:37 +08:00
aarch64eb-softmmu Two fixes to get unicorn build better with MSVC. (#1136) 2019-09-05 00:53:37 +08:00
arm-softmmu Two fixes to get unicorn build better with MSVC. (#1136) 2019-09-05 00:53:37 +08:00
armeb-softmmu Two fixes to get unicorn build better with MSVC. (#1136) 2019-09-05 00:53:37 +08:00
m68k-softmmu Two fixes to get unicorn build better with MSVC. (#1136) 2019-09-05 00:53:37 +08:00
mips64-softmmu Two fixes to get unicorn build better with MSVC. (#1136) 2019-09-05 00:53:37 +08:00
mips64el-softmmu Two fixes to get unicorn build better with MSVC. (#1136) 2019-09-05 00:53:37 +08:00
mips-softmmu Two fixes to get unicorn build better with MSVC. (#1136) 2019-09-05 00:53:37 +08:00
mipsel-softmmu Two fixes to get unicorn build better with MSVC. (#1136) 2019-09-05 00:53:37 +08:00
ppc-softmmu Add Visual Studio project files for PowerPC support (#1272) 2020-05-29 00:07:56 +08:00
sparc64-softmmu Two fixes to get unicorn build better with MSVC. (#1136) 2019-09-05 00:53:37 +08:00
sparc-softmmu Two fixes to get unicorn build better with MSVC. (#1136) 2019-09-05 00:53:37 +08:00
unicorn Add Visual Studio project files for PowerPC support (#1272) 2020-05-29 00:07:56 +08:00
unicorn_static Add Visual Studio project files for PowerPC support (#1272) 2020-05-29 00:07:56 +08:00
x86_64-softmmu Two fixes to get unicorn build better with MSVC. (#1136) 2019-09-05 00:53:37 +08:00
config-host.h Added armbe support to MSVC branch. (#801) 2017-04-21 15:26:21 +08:00
prebuild_script.bat Added MSVC support for arm64eb. 2017-04-25 14:23:58 +10:00
qapi-types.c Finalise MSVC port (#739) 2017-01-24 22:09:33 +08:00
qapi-types.h Moved ./bindings/msvc_native into ./msvc (#726) 2017-01-22 13:26:19 +08:00
qapi-visit.c Finalise MSVC port (#739) 2017-01-24 22:09:33 +08:00
qapi-visit.h Moved ./bindings/msvc_native into ./msvc (#726) 2017-01-22 13:26:19 +08:00