OSDN Git Service

Merge pull request #41491 (taotao/hengband/fix-impure_calc_num_blow into develop).
[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 #include <pwd.h>
63 #include <unistd.h>
64 #include <sys/stat.h>
65
66 #endif /* SET_UID */
67
68 #include <string.h>
69
70 #include <stdarg.h>
71
72 #endif /* INCLUDED_H_SYSTEM_H */