Files
Xenia-Canary/src/xenia/base
Sandy Carter 24e7bb5293 [Memory] Fix alignment to 16 bytes
Fix segmentation fault happening on linux when `src` or `dst` is not aligned to
16 bytes.
Assert against use of `src_ptr` and `dest_ptr` which are not unaligned to 16
bits.
2018-04-20 18:50:40 -07:00
..
2015-08-05 22:06:20 -07:00
2015-08-05 22:06:20 -07:00
2015-08-18 14:18:00 -07:00
2015-09-22 07:38:59 -07:00
2015-08-06 20:17:01 -07:00
2017-02-19 19:58:58 -06:00
2017-05-09 21:10:53 -05:00
2015-12-02 17:37:48 -08:00
2015-08-07 21:29:03 -07:00
2017-09-20 23:29:39 +02:00
2015-09-20 21:31:05 -07:00
2017-09-20 23:29:39 +02:00
2018-03-03 19:15:37 -06:00
2015-08-06 20:17:01 -07:00
2015-08-06 20:17:01 -07:00
2017-09-20 23:29:39 +02:00
2018-04-20 18:50:40 -07:00
2017-09-20 23:29:39 +02:00
2018-04-03 19:02:49 -05:00
2017-05-07 18:25:06 -05:00
2015-08-05 22:06:20 -07:00
2017-09-20 23:29:39 +02:00
2017-09-20 23:29:39 +02:00

A lightweight cross-platform/compiler compatibility library.

This library presupposes C++11/14 support. As more compilers get C++14 it will assume that.

Other parts of the project use this to avoid creating spaghetti linkage. Code specific to the emulator should be kept out, as not all of the projects that depend on this need it.

Where possible, C++11/14 STL should be used instead of adding any code in here, and the code should be kept as small as possible (by reusing STL/etc). Third party dependencies should be kept to a minimum.

Target compilers:

  • MSVC++ 2013+
  • Clang 3.4+
  • GCC 4.8+.

Target platforms:

  • Windows 8+ (_win.cc suffix)
  • Mac OSX 10.9+ (_mac.cc suffix, falling back to _posix.cc)
  • Linux ? (_posix.cc suffix)

Avoid the use of platform-specific #ifdefs and instead try to put all platform-specific code in the appropriately suffixed cc files.