Skip to content
Snippets Groups Projects
Commit ec5e0811 authored by Thomas Feuvrier's avatar Thomas Feuvrier
Browse files

BUG: PB with unistd on Visual platform => correction: unistd.h on "unix" and...

BUG: PB with unistd on Visual platform => correction: unistd.h on "unix" and io.h and process.h faot WIN32 (except for Cygwin)
parent afb1347c
Branches
Tags
No related merge requests found
......@@ -16,9 +16,18 @@
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
#include <cstdio>
#include <sys/types.h>
#include <unistd.h>
// OTB Modifications
//#include <unistd.h>
#if defined(_WIN32) && !defined(__CYGWIN__)
# include <io.h>
# include <process.h>
#else
# include <unistd.h>
#endif
#include <iostream>
#include <vector>
#include <cassert>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment