1/* 2 * Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de. 3 * Distributed under the terms of the MIT License. 4 */ 5#ifndef ERRORS_H 6#define ERRORS_H 7 8#include <util/KMessage.h> 9 10#include "runtime_loader_private.h" 11 12 13extern KMessage gErrorMessage; 14 15 16static inline bool 17report_errors() 18{ 19 return gProgramArgs->error_port >= 0; 20} 21 22 23#endif // ERRORS_H 24