summaryrefslogtreecommitdiff
path: root/rts/PosixSource.h
blob: cd1aeea34cfbf715fc9e5713869b83b90fcbe7fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* -----------------------------------------------------------------------------
 *
 * (c) The GHC Team, 1998-2005
 *
 * Include this file into sources which should not need any non-Posix services.
 * That includes most RTS C sources.
 * ---------------------------------------------------------------------------*/

#ifndef POSIXSOURCE_H
#define POSIXSOURCE_H

#define _POSIX_SOURCE   1
#define _POSIX_C_SOURCE 199506L
#define _XOPEN_SOURCE   500
#define _ISOC99_SOURCE

/* Let's be ISO C99 too... */

#endif /* POSIXSOURCE_H */