From: David Schleef Date: Wed, 1 Jun 2011 02:36:36 +0000 (-0700) Subject: x86insn: fix msvc error X-Git-Tag: orc-0.4.15~16 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=234cb02343f8eb6c746479840bf72ca2f450d86a;p=platform%2Fupstream%2Forc.git x86insn: fix msvc error --- diff --git a/orc/orcx86insn.c b/orc/orcx86insn.c index 44e1fd4..9611f99 100644 --- a/orc/orcx86insn.c +++ b/orc/orcx86insn.c @@ -516,7 +516,7 @@ orc_x86_insn_output_asm (OrcCompiler *p, OrcX86Insn *xinsn) } orc_uint8 nop_codes[][16] = { - { }, + { 0 /* MSVC wants something here */ }, { 0x90 }, { 0x66, 0x90 }, /* xchg %ax,%ax */ { 0x0f, 0x1f, 0x00 }, /* nopl (%rax) */