added two function definitions to globals.h to resolve MSVC compiler error on Windows XP 32 bit