Stuart Dootson 9bfa40184c
Make MSVC happy with the new PowerPC code (#1271)
* 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
2020-05-28 01:26:03 +08:00
..
2020-05-27 15:17:39 +08:00
2020-05-22 21:58:39 +08:00
2020-05-27 15:32:14 +08:00
2020-05-27 15:32:14 +08:00
2020-04-30 14:00:48 +08:00
2020-05-16 10:38:16 +08:00
2020-04-28 09:51:45 +08:00
2020-03-24 16:23:04 +08:00
2020-02-25 11:36:06 +08:00
2020-05-18 19:57:44 +08:00
2020-03-24 16:23:04 +08:00
2020-05-27 14:43:12 +08:00
2020-05-27 14:43:12 +08:00
2020-05-27 14:43:12 +08:00
2020-05-27 14:43:12 +08:00
2019-07-31 15:43:06 +08:00
2020-02-10 22:33:00 +08:00
2020-05-08 21:54:29 +03:00
2020-05-08 21:54:29 +03:00
2020-05-27 14:43:12 +08:00
2020-05-27 14:43:12 +08:00
2020-05-08 21:54:29 +03:00
2020-04-28 02:38:51 +08:00
2020-05-27 14:43:12 +08:00
2020-05-27 14:43:12 +08:00
2020-05-27 14:43:12 +08:00
2020-05-27 14:43:12 +08:00
2020-05-27 15:32:14 +08:00
2020-05-27 15:32:14 +08:00
2020-05-27 14:43:12 +08:00
2020-05-27 14:43:12 +08:00
2020-02-25 11:36:06 +08:00
2020-05-27 14:43:12 +08:00