View on GitHub
Vistle
Distributed Data-parallel Scientific Visualization in VR
Overview
Architecture
API
Publications
Gallery
util
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
18
typedef
uint32_t uid_t;
19
20
uid_t
V_UTILEXPORT
getuid();
21
22
void
V_UTILEXPORT
sleep(
int
x);
23
void
V_UTILEXPORT
usleep(__int64 usec);
24
int
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
ssize_t.h
export.h
V_UTILEXPORT
#define V_UTILEXPORT
Definition:
export.h:19