Mercurial > hg > early-roguelike
comparison srogue/command.c @ 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 | 458df24e973d |
| children | 94a0d9dd5ce1 |
comparison
equal
deleted
inserted
replaced
| 184:7c059ec2a2c7 | 185:576cc8154521 |
|---|---|
| 20 #include <string.h> | 20 #include <string.h> |
| 21 #include <limits.h> | 21 #include <limits.h> |
| 22 #include "rogue.h" | 22 #include "rogue.h" |
| 23 #include "rogue.ext" | 23 #include "rogue.ext" |
| 24 #ifdef __DJGPP__ | 24 #ifdef __DJGPP__ |
| 25 #include <process.h> | |
| 26 #elif defined(_WIN32) | |
| 25 #include <process.h> | 27 #include <process.h> |
| 26 #else | 28 #else |
| 27 #include <unistd.h> | 29 #include <unistd.h> |
| 28 #endif | 30 #endif |
| 29 | 31 |
