1 /* 2 * RNtrack - FTN message tracker/router 3 * 4 * mytypes.hpp - Local types definitions 5 * 6 * Copyright (c) 2003-2005 Alex Soukhotine, 2:5030/1157 7 * 8 * This program is free software; you can redistribute it and/or modify 9 * it under the terms of the GNU General Public License as published by 10 * the Free Software Foundation; either version 2 of the License, or 11 * (at your option) any later version. 12 * 13 * $Id: mytypes.hpp 257 2020-01-30 18:19:33Z dukelsky $ 14 */ 15 16 17 #ifndef _MYTYPES_HPP_ 18 #define _MYTYPES_HPP_ 19 20 #ifdef HAVE_CONFIG_H 21 #include "constant.hpp" 22 #endif 23 24 #ifdef HAVE_SYS_STAT_H 25 #include <sys/stat.h> 26 #endif 27 28 #include "typedefs.h" 29 30 typedef unsigned int uint; 31 typedef unsigned char uchar; 32 typedef struct stat s_stat; 33 #ifndef FALSE 34 #define FALSE (0) 35 #endif 36 #ifndef TRUE 37 #define TRUE (!FALSE) 38 #endif 39 #define OK (0) 40 #define On (1) 41 42 #endif 43