1/*
2 *  This program is free software; you can redistribute it and/or modify
3 *  it under the terms of the GNU General Public License version 2.
4 *
5 *  This program is distributed in the hope that it will be useful,
6 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
7 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
8 *  GNU General Public License for more details.
9 *
10 * Test that all of the folowing symbolic constants from sys/ipc.h are defined:
11 *  IPC_CREAT
12 *  IPC_EXCL
13 *  IPC_NOWAIT
14 *  IPC_PRIVATE
15 *  IPC_RMID
16 *  IPC_SET
17 *  IPC_STAT
18 */
19
20#include <sys/shm.h>
21
22#ifndef IPC_CREAT
23#error IPC_CREAT not defined
24#endif
25
26#ifndef IPC_EXCL
27#error IPC_EXCL not defined
28#endif
29
30#ifndef IPC_NOWAIT
31#error IPC_NOWAIT not defined
32#endif
33
34#ifndef IPC_PRIVATE
35#error IPC_PRIVATE not defined
36#endif
37
38#ifndef IPC_RMID
39#error IPC_RMID not defined
40#endif
41
42#ifndef IPC_SET
43#error IPC_SET not defined
44#endif
45
46#ifndef IPC_STAT
47#error IPC_STAT not defined
48#endif
49
50