[Pkg-libvirt-commits] [libguestfs] 31/61: arm: Replace #ifdef with #if defined, etc.

Hilko Bengen bengen at moszumanska.debian.org
Sat Mar 29 14:36:26 UTC 2014


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to branch experimental
in repository libguestfs.

commit d6072de4ffe19ea57fe94caedbb39f1f7517182b
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Mon Mar 24 17:34:45 2014 -0500

    arm: Replace #ifdef with #if defined, etc.
    
    No functional change.
---
 src/launch-libvirt.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/launch-libvirt.c b/src/launch-libvirt.c
index b8575ce..e4563f8 100644
--- a/src/launch-libvirt.c
+++ b/src/launch-libvirt.c
@@ -996,7 +996,7 @@ construct_libvirt_xml_cpu (guestfs_h *g,
     string_format ("%d", g->memsize);
   } end_element ();
 
-#ifndef __arm__
+#if !defined(__arm__)
   /* It is faster to pass the CPU host model to the appliance,
    * allowing maximum speed for things like checksums, encryption.
    * Only do this with KVM.  It is broken in subtle ways on TCG, and
@@ -1153,7 +1153,7 @@ construct_libvirt_xml_devices (guestfs_h *g,
         string (g->hv);
       } end_element ();
     }
-#ifdef __arm__
+#if defined(__arm__)
     /* Hopefully temporary hack to make ARM work (otherwise libvirt
      * chooses to run /usr/bin/qemu-kvm).
      */

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git



More information about the Pkg-libvirt-commits mailing list