OSDN Git Service

[Refactor] #37353 射撃処理を cmd1.c から shoot.c へ分離。
[hengband/hengband.git] / src / h-system.h
index ef79e54..80d2c05 100644 (file)
@@ -1,14 +1,14 @@
-/* File: h-system.h */
-
-#ifndef INCLUDED_H_SYSTEM_H
-#define INCLUDED_H_SYSTEM_H
-
-/*
+/*!
+ * @file h-system.h
+ * @brief 変愚蛮怒用システムヘッダーファイル /
+ * The most basic "include" file. This file simply includes other low level header files.
+ * @date 2014/08/16
+ * @author
+ * 不明(変愚蛮怒スタッフ?)
+ * @details
  * Include the basic "system" files.
- *
  * Make sure all "system" constants/macros are defined.
  * Make sure all "system" functions have "extern" declarations.
- *
  * This file is a big hack to make other files less of a hack.
  * This file has been rebuilt -- it may need a little more work.
  *
  */
 
 
+#ifndef INCLUDED_H_SYSTEM_H
+#define INCLUDED_H_SYSTEM_H
+
+
+
 #include <stdio.h>
 #include <ctype.h>
+#include <wctype.h>
 #include <errno.h>
+#include <stddef.h>
 
 
 #if defined(NeXT)
@@ -33,8 +40,8 @@
 
 # include <sys/types.h>
 
-# if defined(Pyramid) || defined(NeXT) || defined(SUNOS) || \
-     defined(NCR3K) || defined(SUNOS) || defined(ibm032) || \
+# if defined(Pyramid) || defined(NeXT) || \
+     defined(NCR3K) || defined(ibm032) || \
      defined(__osf__) || defined(ISC) || defined(SGI) || \
      defined(linux)
 #  include <sys/time.h>
 #endif
 
 
-#if defined(WINDOWS) || defined(MSDOS) || defined(USE_EMX)
+#if defined(WINDOWS)
 # include <io.h>
 #endif
 
-#if !defined(MACINTOSH) && !defined(AMIGA) && \
+#if !defined(MACINTOSH) && \
     !defined(ACORN) && !defined(VM)
 # if defined(__TURBOC__) || defined(__WATCOMC__)
 #  include <mem.h>
 #include <unistd.h>
 #endif /* __DJGPP__ */
 
-
-#ifdef SET_UID
-
-#ifdef USG
-# include <string.h>
-#else
-# include <strings.h>
-# ifndef strstr
-extern char *strstr();
-# endif
-# ifndef strchr
-extern char *strchr();
-# endif
-# ifndef strrchr
-extern char *strrchr();
-# endif
-#endif
-
-#else /* SET_UID */
-
-# include <string.h>
-
-#endif /* SET_UID */
-
-
-#if !defined(linux) && !defined(__MWERKS__) && !defined(ACORN) && !defined(WIN32)
-extern long atol();
-#endif
-
+#include <string.h>
 
 #include <stdarg.h>