OSDN Git Service

[Refactor] #37353 NeXTSTEP OSのサポートを打ち切り / Finished support for NeXTSTEP OS
[hengband/hengband.git] / src / 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 #if !defined(__MWERKS__)
57 # include <fcntl.h>
58 #endif
59
60 #ifdef SET_UID
61
62 #  include <sys/param.h>
63 #  include <sys/file.h>
64
65 # ifdef linux
66 #  include <sys/file.h>
67 # endif
68
69 # include <pwd.h>
70
71 # include <unistd.h>
72
73 # include <sys/stat.h>
74
75 #endif /* SET_UID */
76
77 #ifdef __DJGPP__
78 #include <unistd.h>
79 #endif /* __DJGPP__ */
80
81 #include <string.h>
82
83 #include <stdarg.h>
84
85 #endif /* INCLUDED_H_SYSTEM_H */