main.h

来自「日志解析」· C头文件 代码 · 共 59 行

H
59
字号
/***************************************************************************	revision             : $Id: main.h,v 1.1.1.1 2005/10/04 10:50:23 wiz Exp $    copyright            : (C) 2005 by Simone Tellini    email                : tellini@users.sourceforge.net ***************************************************************************//*************************************************************************** *                                                                         * *   This program is free software; you can redistribute it and/or modify  * *   it under the terms of the GNU General Public License as published by  * *   the Free Software Foundation; either version 2 of the License, or     * *   (at your option) any later version.                                   * *                                                                         * ***************************************************************************/#ifndef MAIN_H#define MAIN_H#ifdef HAVE_CONFIG_H#include "config.h"#endifusing namespace std;#ifdef HAVE_SYS_TYPES_H#include <sys/types.h>#endif#include <stdlib.h>#include <unistd.h>#ifdef HAVE_STRING_H#include <string.h>#endif#ifdef HAVE_STRINGS_H#include <strings.h>#endif#include <errno.h>#include <stdio.h>#if TIME_WITH_SYS_TIME# include <sys/time.h># include <time.h>#else# if HAVE_SYS_TIME_H#  include <sys/time.h># else#  include <time.h># endif#endif// debug stuff#ifdef DEBUG#define DBG(x)		{ x; }#else#define DBG(x)#endif#endif /* MAIN_H */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?