On 02/20/2014 01:42 PM, Peter Maydell wrote: > Win32 doesn't have a cpuid.h, and MacOSX may have one but without > the __cpuid() function we use, which means that commit 9d2eec20 > broke the build for those platforms. Fix this by tightening up > our configure cpuid.h check to test that the functions we need > are present, and adding some missing #ifdef guards in > tcg/i386/tcg-target.c. > > Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> > --- > Changes v1->v2: fix typo in commit message, add __cpuid_count() > to the configure test > > configure | 13 ++++++++++++- > tcg/i386/tcg-target.c | 4 +++- > 2 files changed, 15 insertions(+), 2 deletions(-)
Reviewed-by: Richard Henderson <r...@twiddle.net> r~