View on GitHub

Vistle

Distributed Data-parallel Scientific Visualization in VR

sysdep.h
Go to the documentation of this file.
1#ifndef SYSDEP_H
2#define SYSDEP_H
3
4#include "export.h"
5#ifdef _WIN32
6#ifndef NOMINMAX
7#define NOMINMAX
8#endif
9#ifndef WIN32_LEAN_AND_MEAN
10#define WIN32_LEAN_AND_MEAN
11#endif
12#include <cstdio>
13#include <process.h>
14#include <windows.h>
15#include <stdint.h>
16#include <stdlib.h>
17
18typedef uint32_t uid_t;
19
20uid_t V_UTILEXPORT getuid();
21
22void V_UTILEXPORT sleep(int x);
23void V_UTILEXPORT usleep(__int64 usec);
24int V_UTILEXPORT setenv(const char *name, const char *value, int overwrite);
25
26#define getpid _getpid
27#define popen _popen
28#define pclose _pclose
29
30
31#endif
32
33#include "ssize_t.h"
34#endif
#define V_UTILEXPORT
Definition: export.h:19