View on GitHub

Vistle

Distributed Data-parallel Scientific Visualization in VR

fileio.h
Go to the documentation of this file.
1#ifndef VISTLE_FILE_IO_H
2#define VISTLE_FILE_IO_H
3
4#ifdef _WIN32
5#include <io.h>
6#include <fcntl.h>
7
8
9#define S_IRUSR _S_IREAD
10#define S_IRGRP _S_IREAD
11#define S_IROTH _S_IREAD
12#define S_IWUSR _S_IWRITE
13#define S_IWGRP _S_IWRITE
14#define S_IWOTH _S_IWRITE
15
16
17#else
18#include <unistd.h>
19#endif
20
21#endif