## Public API Reference

- Main Page
- Modules
- Namespaces
- Classes
- Files
- Related Pages

- File List
- File Members

# csver.h

Go to the documentation of this file.

    00001 /*
    00002     Copyright (C) 1998-2002 by Jorrit Tyberghein
    00003
    00004     This library is free software; you can redistribute it and/or
    00005     modify it under the terms of the GNU Library General Public
    00006     License as published by the Free Software Foundation; either
    00007     version 2 of the License, or (at your option) any later version.
    00008
    00009     This library is distributed in the hope that it will be useful,
    00010     but WITHOUT ANY WARRANTY; without even the implied warranty of
    00011     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    00012     Library General Public License for more details.
    00013
    00014     You should have received a copy of the GNU Library General Public
    00015     License along with this library; if not, write to the Free
    00016     Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
    00017 */
    00018
    00019 #ifndef __CS_CSVER_H__
    00020 #define __CS_CSVER_H__
    00021
    00026 // *** NOTE ***
    00027 // Also update CS/configure.ac and CS/docs/texinfo/version.txi when updating
    00028 // the version number.
    00029
    00031 #define CS_VERSION_MAJOR CS_VER_QUOTE(0.99)
    00032
    00033 #define CS_VERSION_MINOR CS_VER_QUOTE(0)
    00034
    00035 #define CS_RELEASE_DATE  CS_VER_QUOTE(Mon 7-Jul-2004)
    00036
    00037 #define CS_VER_QUOTE(X) #X
    00038
    00039 #if !defined(CS_PLATFORM_NAME)
    00040
    00041 #  define CS_PLATFORM_NAME "MysteryPlatform"
    00042 #  if defined(CS_COMPILER_GCC)
    00043 #  warning Unable to identify platform name using CS_PLATFORM_NAME.
    00044 #  elif defined(CS_COMPILER_MSVC)
    00045 #  pragma message("Unable to identify platform name using CS_PLATFORM_NAME.")
    00046 #  endif
    00047 #endif
    00048 #if !defined(CS_PROCESSOR_NAME)
    00049
    00050 #  define CS_PROCESSOR_NAME "MysteryProcessor"
    00051 #  if defined(CS_COMPILER_GCC)
    00052 #  warning Unable to identify processor name using CS_PROCESSOR_NAME.
    00053 #  elif defined(CS_COMPILER_MSVC)
    00054 #  pragma message("Unable to identify processor name using CS_PROCESSOR_NAME.")
    00055 #  endif
    00056 #endif
    00057 #if !defined(CS_COMPILER_NAME)
    00058
    00059 #  define CS_COMPILER_NAME "MysteryCompiler"
    00060 #  if defined(CS_COMPILER_GCC)
    00061 #  warning Unable to identify compiler name using CS_COMPILER_NAME.
    00062 #  elif defined(CS_COMPILER_MSVC)
    00063 #  pragma message("Unable to identify compiler name using CS_COMPILER_NAME.")
    00064 #  endif
    00065 #endif
    00066
    00068 #define CS_VERSION_NUMBER CS_VERSION_MAJOR " r" CS_VERSION_MINOR
    00069
    00071 #define CS_VERSION CS_VERSION_NUMBER \
    00072   " [" CS_PLATFORM_NAME "-" CS_PROCESSOR_NAME "-" CS_COMPILER_NAME "]"
    00073
    00074 #endif // __CS_CSVER_H__