// Description:
//   Tell my thy OS.
//
// Copyright (C) 2005 Frank Becker
//
// This program is free software; you can redistribute it and/or modify it under
// the terms of the GNU General Public License as published by the Free Software
// Foundation;  either version 2 of the License,  or (at your option) any  later
// version.
//
// This program is distributed in the hope that it will be useful,  but  WITHOUT
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details
//
#ifndef _OSName_hpp_
#define _OSName_hpp_

#if defined (WIN32)
#define OSNAME "Windows"
#elif defined (__APPLE__) and defined (__POWERPC__)
#define OSNAME "OSX-ppc"
#elif defined (__APPLE__) and defined (__INTEL__)
#define OSNAME "OSX-intel"
#elif defined (__linux__)
#define OSNAME "Linux"
#elif defined (__NetBSD__)
#define OSNAME "NetBSD"
#elif defined (__OpenBSD__)
#define OSNAME "OpenBSD"
#elif defined (__FreeBSD__)
#define OSNAME "FreeBSD"
#elif defined (__solaris__)
#define OSNAME "Solaris"
#elif defined (__sgi__)
#define OSNAME "SGI"
#elif defined (__hpux__)
#define OSNAME "HPUX"
#else
#define OSNAME "Other"
#endif

#endif
