PPC: Add cstdlib includes for code generated by ppc-table-gen.
This commit is contained in:
parent
3117d737ed
commit
aab946a36b
|
@ -137,6 +137,7 @@ def generate_opcodes(insns):
|
||||||
w0('#define XENIA_CPU_PPC_PPC_OPCODE_H_')
|
w0('#define XENIA_CPU_PPC_PPC_OPCODE_H_')
|
||||||
w0('')
|
w0('')
|
||||||
w0('#include <cstdint>')
|
w0('#include <cstdint>')
|
||||||
|
w0('#include <cstdlib>')
|
||||||
w0('')
|
w0('')
|
||||||
w0('namespace xe {')
|
w0('namespace xe {')
|
||||||
w0('namespace cpu {')
|
w0('namespace cpu {')
|
||||||
|
@ -176,6 +177,7 @@ def generate_table(insns):
|
||||||
w0('// This code was autogenerated by %s. Do not modify!' % (sys.argv[0]))
|
w0('// This code was autogenerated by %s. Do not modify!' % (sys.argv[0]))
|
||||||
w0('// clang-format off')
|
w0('// clang-format off')
|
||||||
w0('#include <cstdint>')
|
w0('#include <cstdint>')
|
||||||
|
w0('#include <cstdlib>')
|
||||||
w0('')
|
w0('')
|
||||||
w0('#include "xenia/base/assert.h"')
|
w0('#include "xenia/base/assert.h"')
|
||||||
w0('#include "xenia/cpu/ppc/ppc_opcode.h"')
|
w0('#include "xenia/cpu/ppc/ppc_opcode.h"')
|
||||||
|
@ -279,6 +281,7 @@ def generate_disasm(insns):
|
||||||
w0('// This code was autogenerated by %s. Do not modify!' % (sys.argv[0]))
|
w0('// This code was autogenerated by %s. Do not modify!' % (sys.argv[0]))
|
||||||
w0('// clang-format off')
|
w0('// clang-format off')
|
||||||
w0('#include <cstdint>')
|
w0('#include <cstdint>')
|
||||||
|
w0('#include <cstdlib>')
|
||||||
w0('')
|
w0('')
|
||||||
w0('#include "xenia/base/assert.h"')
|
w0('#include "xenia/base/assert.h"')
|
||||||
w0('#include "xenia/cpu/ppc/ppc_decode_data.h"')
|
w0('#include "xenia/cpu/ppc/ppc_decode_data.h"')
|
||||||
|
@ -410,6 +413,7 @@ def generate_lookup(insns):
|
||||||
w0('// This code was autogenerated by %s. Do not modify!' % (sys.argv[0]))
|
w0('// This code was autogenerated by %s. Do not modify!' % (sys.argv[0]))
|
||||||
w0('// clang-format off')
|
w0('// clang-format off')
|
||||||
w0('#include <cstdint>')
|
w0('#include <cstdint>')
|
||||||
|
w0('#include <cstdlib>')
|
||||||
w0('')
|
w0('')
|
||||||
w0('#include "xenia/base/assert.h"')
|
w0('#include "xenia/base/assert.h"')
|
||||||
w0('#include "xenia/cpu/ppc/ppc_opcode.h"')
|
w0('#include "xenia/cpu/ppc/ppc_opcode.h"')
|
||||||
|
|
Loading…
Reference in New Issue