aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorMarcus Comstedt2014-01-09 23:25:07 +0100
committerMarcus Comstedt2014-01-10 15:56:51 +0100
commit62828f86a14994b1be503abc141f5eb73857530c (patch)
tree217a7cca70f874c3aa1b34e7352497e1b2c37ba8 /backends
parenta47e2a6b7df263595168811e6de8b070cf412fb9 (diff)
downloadscummvm-rg350-62828f86a14994b1be503abc141f5eb73857530c.tar.gz
scummvm-rg350-62828f86a14994b1be503abc141f5eb73857530c.tar.bz2
scummvm-rg350-62828f86a14994b1be503abc141f5eb73857530c.zip
DC: Workaround for usleep prototype mismatch
Diffstat (limited to 'backends')
-rw-r--r--backends/platform/dc/dc-fs.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/backends/platform/dc/dc-fs.cpp b/backends/platform/dc/dc-fs.cpp
index 36f5a1465c..f850c9d26f 100644
--- a/backends/platform/dc/dc-fs.cpp
+++ b/backends/platform/dc/dc-fs.cpp
@@ -27,7 +27,9 @@
#include <ronin/cdfs.h>
#include <stdio.h>
+#define usleep usleep_unistd
#include <unistd.h>
+#undef usleep
/**
* Implementation of the ScummVM file system API based on Ronin.