[Spice-devel] [ALREADY PUSHED my bad 2/6] client/foreign_menu: arm build fix
Alon Levy
alevy at redhat.com
Mon Jan 23 04:21:13 PST 2012
---
client/foreign_menu.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/client/foreign_menu.cpp b/client/foreign_menu.cpp
index d1df49d..faef4c2 100644
--- a/client/foreign_menu.cpp
+++ b/client/foreign_menu.cpp
@@ -30,7 +30,7 @@
#ifdef WIN32
#define PIPE_NAME "SpiceForeignMenu-%lu"
-#elif defined(__i386__)
+#elif defined(__i386__) || __SIZEOF_LONG__ == 4
#define PIPE_NAME "/tmp/SpiceForeignMenu-%llu.uds"
#else
#define PIPE_NAME "/tmp/SpiceForeignMenu-%lu.uds"
--
1.7.8.4
More information about the Spice-devel
mailing list