#ifndef NEDIT_SYSTEM_H_INCLUDED
#define NEDIT_SYSTEM_H_INCLUDED
#if defined(__alpha) || defined (_M_ALPHA)
# define COMPILE_MACHINE "Alpha"
#elif defined(__mips)
# define COMPILE_MACHINE "MIPS"
#elif defined(__sparc)
# define COMPILE_MACHINE "Sparc"
#elif defined(__sparcv9)
# define COMPILE_MACHINE "Sparc64"
#elif defined(__hppa)
# define COMPILE_MACHINE "PA-RISC"
#elif defined(__ALTIVEC__)
# define COMPILE_MACHINE "PowerPC Altivec"
#elif defined(__POWERPC__) || defined(__ppc__) || defined(__powerpc__) || defined(_POWER)
# define COMPILE_MACHINE "PowerPC"
#elif defined(__x86_64) || defined(_x86_64)
# define COMPILE_MACHINE "x86-64"
#elif defined(__IA64) || defined(__ia64)
# define COMPILE_MACHINE "IA64"
#elif defined(__k6) || defined(__k6__)
# define COMPILE_MACHINE "K6"
#elif defined(__athlon) || defined(__athlon__)
# define COMPILE_MACHINE "Athlon"
#elif defined(__pentium4) || defined(__pentium4__)
# define COMPILE_MACHINE "Pentium IV"
#elif defined(__pentium3) || defined(__pentium3__)
# define COMPILE_MACHINE "Pentium III"
#elif defined(__pentium2) || defined(__pentium2__)
# define COMPILE_MACHINE "Pentium II"
#elif defined(__pentiumpro) || defined(__pentiumpro__)
# define COMPILE_MACHINE "Pentium Pro"
#elif defined(__pentium) || defined(__pentium__)
# define COMPILE_MACHINE "Pentium"
#elif defined(__i486) || defined(__i486__)
# define COMPILE_MACHINE "486"
#elif defined(__i386) || defined(__i386__)
# define COMPILE_MACHINE "386"
#elif defined(_M_IX86) || defined(_X86_) || defined (__x86__)
# define COMPILE_MACHINE "x86"
#elif defined(__VAX)
# define COMPILE_MACHINE "VAX"
#else
# define COMPILE_MACHINE "Unknown"
#endif
#if defined(__osf__)
# define COMPILE_OS "Tru64/Digital Unix"
#elif defined(__sun)
# define COMPILE_OS "Solaris"
#elif defined(__hpux)
# define COMPILE_OS "HP/UX"
#elif defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
# define COMPILE_OS "Win32"
#elif defined(__sgi)
# define COMPILE_OS "IRIX"
#elif defined(__Lynx__)
# define COMPILE_OS "Lynx"
#elif defined(__linux__)
# define COMPILE_OS "Linux"
#elif defined(_AIX)
# define COMPILE_OS "AIX"
#elif defined(__VMS)
# define COMPILE_OS "VMS"
#elif defined(__FreeBSD__)
# define COMPILE_OS "FreeBSD"
#elif defined(__OpenBSD__)
# define COMPILE_OS "OpenBSD"
#elif defined(__NetBSD__)
# define COMPILE_OS "NetBSD"
#elif defined(__bsdi)
# define COMPILE_OS "BSDI"
#elif defined(__ultrix)
# define COMPILE_OS "Ultrix"
#elif defined(__EMX__)
# define COMPILE_OS "OS/2"
#elif defined(__APPLE__) || defined(__MACOSX__)
# define COMPILE_OS "MacOS X"
#elif defined(__UNIXWARE__)
# define COMPILE_OS "UnixWare"
#elif defined(__unix__)
# define COMPILE_OS "Unix"
#else
# define COMPILE_OS "Unknown"
#endif
#if defined (__DECC)
# define COMPILE_COMPILER "DEC C"
#elif defined (__DECCXX)
# define COMPILE_COMPILER "DEC C++"
#elif defined (__APOGEE)
# define COMPILE_COMPILER "Apogee"
#elif defined (__SUNPRO_C)
# define COMPILE_COMPILER "Sun Studio C"
#elif defined (__SUNPRO_CC)
# define COMPILE_COMPILER "Sun Studio C++"
#elif defined (__LCC__)
# define COMPILE_COMPILER "LCC"
#elif defined (_MSC_VER)
# define COMPILE_COMPILER "Microsoft C"
#elif defined (__BORLANDC__)
# define COMPILE_COMPILER "Borland C"
#elif defined (__sgi) && defined (_COMPILER_VERSION)
# define COMPILE_COMPILER "SGI MipsPro"
#elif defined (__xlC__)
# define COMPILE_COMPILER "IBM xlC"
#elif defined (__IBMC__)
# define COMPILE_COMPILER "IBM C"
#elif defined (__HP_cc)
# define COMPILE_COMPILER "HP cc"
#elif defined (__HP_aCC)
# define COMPILE_COMPILER "HP aCC"
#elif defined (__KCC)
# define COMPILE_COMPILER "KAI C++"
#elif defined (__MWERKS__)
# define COMPILE_COMPILER "Metrowerks CodeWarrior"
#elif defined (__WATCOMC__)
# define COMPILE_COMPILER "Watcom C/C++"
#elif defined (__INTEL_COMPILER)
# define COMPILE_COMPILER "Intel C++"
#elif defined (__clang__)
# define COMPILE_COMPILER "Clang"
#elif defined (__llvm__)
# define COMPILE_COMPILER "LLVM"
#elif defined(__GNUC__)
# define COMPILE_COMPILER "GNU C"
#elif defined (__hpux)
# define COMPILE_COMPILER "HP C [?]"
#elif defined (__sgi)
# define COMPILE_COMPILER "SGI MipsPro [?]"
#else
# define COMPILE_COMPILER "Unknown"
#endif
#endif