/* * Copyright (C) 2004-2010 See the AUTHORS file for details. * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 as published * by the Free Software Foundation. */ #ifndef _DEFINES_H #define _DEFINES_H // This header file is just for Csocket #include "main.h" #include "Utils.h" #define CS_STRING CString #define _NO_CSOCKET_NS #ifdef _DEBUG #define __DEBUG__ #endif // Redefine some Csocket debugging mechanisms to use znc's #define CS_DEBUG(f) DEBUG(__FILE__ << ":" << __LINE__ << " " << f) #define PERROR(f) DEBUG(__FILE__ << ":" << __LINE__ << " " << f << ": " << strerror(GetSockError())) #endif // !_DEFINES_H