summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2012-01-17 17:37:28 +0200
committerAlon Levy <alevy@redhat.com>2012-01-22 15:13:32 +0200
commit7dbdd93bf97436dd523721a090aaea63fd0a8b3b (patch)
treef71fdd40a1bef94b329a19f31e143c73774b715a
parentafd7dfde1f3e13a989491de28933bee10fbab0be (diff)
downloadspice-7dbdd93bf97436dd523721a090aaea63fd0a8b3b.tar.gz
spice-7dbdd93bf97436dd523721a090aaea63fd0a8b3b.tar.xz
spice-7dbdd93bf97436dd523721a090aaea63fd0a8b3b.zip
client/foreign_menu: arm build fix
-rw-r--r--client/foreign_menu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/foreign_menu.cpp b/client/foreign_menu.cpp
index d1df49d0..faef4c27 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"