-/* 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)
# 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>
#include <time.h>
-#ifdef MACINTOSH
-# include <unix.h>
-#endif /* MACINTOSH */
+#if defined(MACINTOSH)
+# if defined(MAC_MPW)
+# ifdef __STDC__
+# undef __STDC__
+# endif
+# else
+# include <unix.h>
+# endif
+#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>