------------------------------------------------------------------------ r6120 | hendricks266 | 2017-04-12 01:30:38 -0700 (Wed, 12 Apr 2017) | 3 lines Flip the switch to C++11. It's happening. ------------------------------------------------------------------------ r6119 | hendricks266 | 2017-04-12 01:30:35 -0700 (Wed, 12 Apr 2017) | 1 line compat.h: Add logbase(). ------------------------------------------------------------------------ r6118 | hendricks266 | 2017-04-12 01:30:32 -0700 (Wed, 12 Apr 2017) | 1 line compat.h: Add new types, native_t and unative_t, functionally equivalent to our current bssize_t and bsize_t, respectively, but generated dependably using template metaprogramming when building with C++ >= 11. ------------------------------------------------------------------------ r6117 | hendricks266 | 2017-04-12 01:30:29 -0700 (Wed, 12 Apr 2017) | 1 line compat.h: Add some infrastructure for C++ template metaprogramming. ------------------------------------------------------------------------ r6116 | hendricks266 | 2017-04-12 01:30:26 -0700 (Wed, 12 Apr 2017) | 1 line compat.h: Upgrade our byteswapping functions with new versions that I have experimentally confirmed to compile down to the appropriate single assembly instructions on x86 and x86_64. As part of this, make them constexpr, and remove the OS-specific and inline assembly variants as sub-par due to these two improvements. ------------------------------------------------------------------------ r6115 | hendricks266 | 2017-04-12 01:30:23 -0700 (Wed, 12 Apr 2017) | 1 line compat.h: Add macros so that we can use constexpr without breaking C++ < 11 and C. ------------------------------------------------------------------------ r6114 | hendricks266 | 2017-04-12 01:30:18 -0700 (Wed, 12 Apr 2017) | 1 line compat.h: Add some definitions for easy testing of language standard versions. ------------------------------------------------------------------------ See http://svn.eduke32.com/listing.php?repname=eduke32 for more details.