qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 774d56: tcg/i386: Fix build for systems witho


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 774d56: tcg/i386: Fix build for systems without working cp...
Date: Fri, 21 Feb 2014 04:00:04 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 774d566cdbebb916af9760dac629aa7c1adf9d3d
      
https://github.com/qemu/qemu/commit/774d566cdbebb916af9760dac629aa7c1adf9d3d
  Author: Peter Maydell <address@hidden>
  Date:   2014-02-21 (Fri, 21 Feb 2014)

  Changed paths:
    M configure
    M tcg/i386/tcg-target.c

  Log Message:
  -----------
  tcg/i386: Fix build for systems without working cpuid.h (MacOSX, Win32)

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 <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]