// // File : CheckVersion.hh // // Purpose: File to be included by all *.cc files to check the software versions // // $Id: CheckVersion.hh 8757 2010-09-27 12:16:09Z mathes $ // /** @file CheckVersion.hh * Macro file for software version checking. * @author H.-J. Mathes, FzK */ #ifndef _CheckVersion_hh_ #define _CheckVersion_hh_ #ifndef NO_VERSION /* --- Check against version of package FdUtil ... --- */ # include # if (FDUTIL_VERSION_CODE < ModuleVersionCode(4,0,3) \ || FDUTIL_VERSION_CODE > ModuleVersionCode(4,1,255)) # error "Version of module FdUtil does not match !" # error "Required version: 4.0.3 ... 4.1.x" # endif /* --- Check against version of package MiEvent ... --- */ # include # if (MIEVENT_VERSION_CODE < ModuleVersionCode(4,1,0) \ || MIEVENT_VERSION_CODE > ModuleVersionCode(4,1,255)) # error "Version of module MiEvent does not match !" # error "Required version: 4.1.0 ... 4.1.x" # endif #endif // NO_VERSION #endif // _CheckVersion_hh_