summaryrefslogtreecommitdiffstats
path: root/client/red_client.cpp
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2011-01-27 12:12:41 +0200
committerAlon Levy <alevy@redhat.com>2011-01-27 17:19:06 +0200
commit645236df2bc908de7abcd6b3d8aab0467ee2d401 (patch)
tree1f82041f2f1881e7a746e2228fd0e05e29b7e904 /client/red_client.cpp
parent9394b2c50e8b5d7b336c6603166709ed0637bb81 (diff)
downloadspice-645236df2bc908de7abcd6b3d8aab0467ee2d401.tar.gz
spice-645236df2bc908de7abcd6b3d8aab0467ee2d401.tar.xz
spice-645236df2bc908de7abcd6b3d8aab0467ee2d401.zip
client: fix broken vs2008 build
Diffstat (limited to 'client/red_client.cpp')
-rw-r--r--client/red_client.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/client/red_client.cpp b/client/red_client.cpp
index 18105934..ac045558 100644
--- a/client/red_client.cpp
+++ b/client/red_client.cpp
@@ -24,6 +24,10 @@
#include "debug.h"
#include "marshallers.h"
+#ifndef INFINITY
+#define INFINITY HUGE
+#endif
+
#ifdef __GNUC__
typedef struct __attribute__ ((__packed__)) OldRedMigrationBegin {
#else