dxx-rebirth/common/arch
Kp 9421c31b5a Replace "compiler-type_traits.h" with <type_traits>
Delete stub "compiler-type_traits.h" header.  Redirect all uses to the
standard <type_traits> header.

git grep -wlz 'compiler-type_traits.h' -- '*.cpp' '*.h' | xargs -0 perl -p -i <<EOF
    BEGIN {
	    $i = 0;
    }
    if (($i == 1 && $_ eq "\n") || ($i < 2 && /^#include "/)) {
	    # First blank line or first user-include after a system-include.
	    # Print, then never again for this file.
	    print "#include <type_traits>\n";
	    $i = 2;
    } elsif ($i == 0) {
	    $i = 1 if (/^#include </);
    } elsif ($_ eq "#include \"compiler-type_traits.h\"\n") {
	    # Remove this line if found.
	    $_ = '';
    }
    # Reset state machine when moving to next file.
    $i = 0 if eof;
EOF
2017-06-25 20:46:03 +00:00
..
carbon Fix prototype of Mac msgbox_warning 2014-11-30 17:03:54 +00:00
cocoa Uninline namespace dcx 2015-12-13 18:00:49 +00:00
ogl Move ogl_sync fence into local scope for before_swap 2017-04-08 16:48:19 +00:00
sdl Replace "compiler-type_traits.h" with <type_traits> 2017-06-25 20:46:03 +00:00
win32 Handle unaligned stack during Win32 hexdump logging 2017-06-03 17:11:12 +00:00