/* $Id$ G N O K I I A Linux/Unix toolset and driver for Nokia mobile phones. Released under the terms of the GNU GPL, see file COPYING for more details. */ #ifndef __CONFIG_H__ #define __CONFIG_H__ @TOP@ /* Define if you have timersub() */ #undef HAVE_TIMEOPS /* Define if you have tm_gmtoff field in tm structure */ #undef HAVE_TM_GMTON /* Define if you have cfsetspeed, cfsetispeed, cfsetospeed, c_ispeed and c_ospeed in struct termios */ #undef HAVE_CFSETSPEED #undef HAVE_CFSETISPEED #undef HAVE_CFSETOSPEED #undef HAVE_TERMIOS_CSPEED /* Define if you have snprintf */ #undef HAVE_SNPRINTF /* Define debug level */ #undef DEBUG #undef XDEBUG #undef RLP_DEBUG /* Decide if you want security options enabled */ #undef SECURITY /* Define if you have XPM components */ #undef XPM /* Define if you want NLS */ #undef USE_NLS /* Define if you want to use Unix98 PTYs */ #undef USE_UNIX98PTYS /* Define if you compile for M$ Windows */ #undef WIN32 /* Missing symbols */ #undef VERSION #undef XVERSION #undef DEBUG #undef HAVE_CFSETISPEED #undef HAVE_CFSETOSPEED #undef HAVE_CFSETSPEED #undef HAVE_LIBINTL #undef HAVE_LIBINTL_H #undef HAVE_TERMIOS_CSPEED #undef HAVE_TIMEOPS #undef HAVE_TM_GMTON #undef RLP_DEBUG #undef SECURITY #undef USE_NLS #undef USE_UNIX98PTYS #undef WIN32 #undef XDEBUG #undef XPM #undef CONFIG_CFG_INITLENGTH #undef CONFIG_CFG_MODEL #undef CONFIG_CFG_PORT @BOTTOM@ #include "uccompat.h" #ifdef STACKCHECK extern void live_check(const char *file,int line,int alloc); extern void live_disable(int how); #define LIVE live_check(__FILE__,__LINE__,-1) #define LIVE_ALLOC(n) live_check(__FILE__,__LINE__,(n)) #define LIVE_DISABLE live_disable(1) #define LIVE_ENABLE live_disable(-1) #else /* STACKCHECK */ #define LIVE #define LIVE_ALLOC(n) #define LIVE_DISABLE #define LIVE_ENABLE #endif /* STACKCHECK */ #ifdef USE_UNIX98PTYS # define _XOPEN_SOURCE 500 #endif #define _BSD_SOURCE 1 #include extern void usleep_watchdevice(unsigned long usecs); #define usleep(usecs) usleep_watchdevice((usecs)) #define sleep(secs) usleep((secs)*1000000) #endif /* __CONFIG_H__ */