changeset 185:576cc8154521

srogue: don't try to include unistd.h on Windows.
author John "Elwin" Edwards
date Sun, 02 Aug 2015 15:25:24 -0400
parents 7c059ec2a2c7
children 85bd398cb96d
files srogue/command.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/srogue/command.c	Sun Aug 02 12:25:44 2015 -0400
+++ b/srogue/command.c	Sun Aug 02 15:25:24 2015 -0400
@@ -23,6 +23,8 @@
 #include "rogue.ext"
 #ifdef __DJGPP__
 #include <process.h>
+#elif defined(_WIN32)
+#include <process.h>
 #else
 #include <unistd.h>
 #endif