00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013 #ifndef __XVR2_CONFIG_HEADER__
00014 #define __XVR2_CONFIG_HEADER__
00015
00016 #define ENABLE_XVR2_POSIX_THREADS_SUPPORT 1
00017
00018 #if 1 == 1
00019 #ifndef USE_POSIX_THREADS
00020 #define USE_POSIX_THREADS
00021 #endif
00022 #ifndef _REENTRANT
00023 #define _REENTRANT
00024 #endif
00025 #ifndef _THREAD_SAFE
00026 #define _THREAD_SAFE
00027 #endif
00028 #endif
00029
00030 #if defined (__unix__) || defined (__linux__) || defined (__unix) || defined (__linux)
00031 #ifndef UNIX_SOCKETS
00032 #define UNIX_SOCKETS
00033 #endif
00034 #else
00035 #undef UNIX_SOCKETS
00036 #endif
00037
00038
00039 #if defined(__linux) || defined(__linux__)
00040
00041 #ifndef USING_LINUX
00042 #define USING_LINUX
00043 #endif
00044 #ifndef __GNU
00045 #define __GNU
00046 #endif
00047 #else
00048
00049 #if defined(__sun) || defined(__sun__) || defined(sun)
00050 #ifndef USING_SOLARIS
00051 #define USING_SOLARIS
00052 #endif
00053 #endif
00054 #endif
00055
00056
00057 #if 0 == 1
00058 #define XVR2_BIG_ENDIAN
00059 #endif
00060 #if 1 == 1
00061 #define XVR2_LITTLE_ENDIAN
00062 #endif
00063
00064 #if 1 == 1
00065 #define USING_LIBCURL
00066 #endif
00067
00068 #ifndef __XVR2_VERSION_MAJOR
00069 #define __XVR2_VERSION_MAJOR 0
00070 #endif
00071
00072 #ifndef __XVR2_VERSION_MINOR
00073 #define __XVR2_VERSION_MINOR 8
00074 #endif
00075
00076 #ifndef __XVR2_VERSION_MICRO
00077 #define __XVR2_VERSION_MICRO 0
00078 #endif
00079
00081 namespace xvr2 {
00082 class String;
00084 extern const String InstallationPrefix;
00091 extern const String VersionString;
00093 extern const int VersionMajor;
00095 extern const int VersionMinor;
00097 extern const int VersionMicro;
00099 extern const int VersionPatchLevel;
00101 extern const String VersionMajorString;
00103 extern const String VersionMinorString;
00105 extern const String VersionMicroString;
00107 extern const String VersionPatchLevelString;
00108 }
00109 #endif