1 // $Header$ 2 // 3 // Copyright (C) 2000 - 2003, by 4 // 5 // Carlo Wood, Run on IRC <carlo@alinoe.com> 6 // RSA-1024 0x624ACAD5 1997-01-26 Sign & Encrypt 7 // Fingerprint16 = 32 EC A7 B6 AC DB 65 A6 F6 F6 55 DD 1C DC FF 61 8 // 9 // This file may be distributed under the terms of the Q Public License 10 // version 1.0 as appearing in the file LICENSE.QPL included in the 11 // packaging of this file. 12 // 13 14 #ifndef TESTSUITE_SYS_H 15 #define TESTSUITE_SYS_H 16 17 #include "config.h" 18 19 #ifndef _GNU_SOURCE 20 #define _GNU_SOURCE 21 #endif 22 #include <libcwd/sys.h> 23 #include <cstdlib> 24 25 #ifdef HAVE__G_CONFIG_H 26 #include <_G_config.h> 27 #ifndef _G_CLOG_CONFLICT 28 #define _G_CLOG_CONFLICT 0 29 #endif 30 #ifndef _G_HAS_LABS 31 #define _G_HAS_LABS 1 32 #endif 33 #endif // HAVE__G_CONFIG_H 34 35 #ifndef THREADTEST 36 #define MAIN_FUNCTION int main(void) 37 #define EXIT(res) exit(res) 38 #define PREFIX_CODE 39 #define THREADED(x) 40 #define COMMA_THREADED(x) 41 #endif 42 43 #endif // TESTSUITE_SYS_H 44