#ifndef DETECT_OS_H
#define DETECT_OS_H

/*!
  \file
  \brief OS、コンパイラの検出
  
  \author Satofumi KAMIMURA
  
  $Id: detect_os.h 286 2008-10-20 09:40:22Z satofumi $
*/

#if defined _MSC_VER || defined __CYGWIN__ || defined __MINGW32__
# define Windows
# if defined _MSC_VER
#  define MSC
# elif defined __CYGWIN__
#  define Cygwin
# elif defined __MINGW32__
#  define MinGW
# endif
#elif defined __NetBSD__
# define NetBSD
# define NoSDL_Linux
#elif defined __linux__
# define Linux
#endif

#endif /* !DETECT_OS_H */
