summaryrefslogtreecommitdiffstats
path: root/liblog/uio.c
diff options
context:
space:
mode:
Diffstat (limited to 'liblog/uio.c')
-rw-r--r--liblog/uio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/liblog/uio.c b/liblog/uio.c
index 24a6507..f77cc49 100644
--- a/liblog/uio.c
+++ b/liblog/uio.c
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-#ifndef HAVE_SYS_UIO_H
+#if defined(_WIN32)
#include <log/uio.h>
#include <unistd.h>
@@ -73,4 +73,4 @@ Exit:
return total;
}
-#endif /* !HAVE_SYS_UIO_H */
+#endif