summaryrefslogtreecommitdiffstats
path: root/client/red_gdi_canvas.cpp
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2012-01-13 12:41:18 +0200
committerAlon Levy <alevy@redhat.com>2012-01-13 17:42:22 +0200
commit4236d1440b328223fec50a0367647740f38abcd6 (patch)
tree0c74195f62d51bfb46851d635ec1ec39db695252 /client/red_gdi_canvas.cpp
parentbe3711f8b476c4da9b32676757e57c63596f9890 (diff)
downloadspice-4236d1440b328223fec50a0367647740f38abcd6.tar.gz
spice-4236d1440b328223fec50a0367647740f38abcd6.tar.xz
spice-4236d1440b328223fec50a0367647740f38abcd6.zip
client/common: mingw32: workaround HAVE_STDLIB_H redefined in jconfig.h
Diffstat (limited to 'client/red_gdi_canvas.cpp')
-rw-r--r--client/red_gdi_canvas.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/client/red_gdi_canvas.cpp b/client/red_gdi_canvas.cpp
index ed091af1..6ac2e8a6 100644
--- a/client/red_gdi_canvas.cpp
+++ b/client/red_gdi_canvas.cpp
@@ -15,6 +15,9 @@
License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#ifdef HAVE_CONFIG_H
+#ifdef __MINGW32__
+#undef HAVE_STDLIB_H
+#endif
#include <config.h>
#endif