summaryrefslogtreecommitdiffhomepage
path: root/include/dalist/dalist_env.h
blob: 8fef0bfcad32f2660be0b690696bae241f036943 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#ifndef DALIST_ENV_H
#define DALIST_ENV_H

#if defined (_MIDIPIX_FREESTANDING)

#include <psxtypes/psxtypes.h>

#elif defined (_DALIST_FREESTANDING)

#include <stdint.h>
typedef  intptr_t ssize_t;

#else

#ifndef _XOPEN_SOURCE
#define _XOPEN_SOURCE 500
#endif

#include <stdint.h>
#include <stdio.h>
#include <errno.h>
#include <sys/mman.h>

#ifndef __cdecl
#define __cdecl
#endif

#ifndef __stdcall
#define __stdcall
#endif

#endif

#endif