OSDN Git Service

[Merge] #40881 流れ上ブランチが孤立するとまずいので、名目的に今の時点で 'hradish-autoroller' を 'release/3.0.0Alph...
[hengband/hengband.git] / src / system / h-system.h
1 /*!
2  * @file h-system.h
3  * @brief 変愚蛮怒用システムヘッダーファイル /
4  * The most basic "include" file. This file simply includes other low level header files.
5  * @date 2014/08/16
6  * @author
7  * 不明(変愚蛮怒スタッフ?)
8  * @details
9  * Include the basic "system" files.
10  * Make sure all "system" constants/macros are defined.
11  * Make sure all "system" functions have "extern" declarations.
12  * This file is a big hack to make other files less of a hack.
13  * This file has been rebuilt -- it may need a little more work.
14  *
15  * It is (very) unlikely that VMS will work without help, primarily
16  * because VMS does not use the "ASCII" character set.
17  */
18
19 #ifndef INCLUDED_H_SYSTEM_H
20 #define INCLUDED_H_SYSTEM_H
21
22 #include <stdio.h>
23 #include <ctype.h>
24 #include <wctype.h>
25 #include <errno.h>
26 #include <stddef.h>
27 # include <stdlib.h>
28
29 #ifdef SET_UID
30
31 # include <sys/types.h>
32
33 # if defined(Pyramid) || defined(NCR3K) || defined(ibm032) || \
34      defined(__osf__) || defined(ISC) || defined(linux)
35 #  include <sys/time.h>
36 # endif
37
38 #  include <sys/timeb.h>
39
40 #endif /* SET_UID */
41
42 #include <time.h>
43
44 #if defined(WINDOWS)
45 # include <io.h>
46 #endif
47
48 #if !defined(VM)
49 # if defined(__TURBOC__) || defined(__WATCOMC__)
50 #  include <mem.h>
51 # else
52 #  include <memory.h>
53 # endif
54 #endif
55
56 #include <fcntl.h>
57
58 #ifdef SET_UID
59
60 #  include <sys/param.h>
61 #  include <sys/file.h>
62
63 # ifdef linux
64 #  include <sys/file.h>
65 # endif
66
67 # include <pwd.h>
68
69 # include <unistd.h>
70
71 # include <sys/stat.h>
72
73 #endif /* SET_UID */
74
75 #include <string.h>
76
77 #include <stdarg.h>
78
79 #endif /* INCLUDED_H_SYSTEM_H */