📄 config.h
字号:
/*
* config.h -- Configuration for PGPlib. This file contains
* the configuration information for PGP, and it should be
* included in all PGP source files.
*
* Copyright (C) 1996,1997 Pretty Good Privacy, Inc. All rights reserved.
*
*/
/* Define if you have the ANSI C header files. */
#define STDC_HEADERS 1
/* some EPOC stdlib headers forget to include this internal file */
#include <_ansi.h>
/* Checks for various specific header files */
#define HAVE_FCNTL_H 1
#define HAVE_LIMITS_H 1
#define HAVE_STDARG_H 1
#define HAVE_STDLIB_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define HAVE_UNISTD_H 1
/* Checks for various functions */
#define HAVE_GETHRTIME 0
#define HAVE_CLOCK_GETTIME 0
#define HAVE_CLOCK_GETRES 0
#define HAVE_GETTIMEOFDAY 1
#define HAVE_GETITIMER 0
#define HAVE_SETITIMER 0
#define HAVE_FTIME 0
#define NOTERMIO
#define USE_GETTIMEOFDAY 1
/* for now, define UNIX while on EPOC. We are close to POSIX, so it is usually
* a goofd idea
*/
#define UNIX 1
#if (_MSC_VER>=1000) && defined(_WIN32)
#define _POSIX_ 1
#define pclose _pclose
#define popen _popen
#define strcasecmp strcmp
#define strncasecmp strncmp
#endif
#define PATH_MAX 256
#ifdef __WINS__
/* WINS is a test platform for developers only.
* Therefore it is always beta, with the expiry
* time bomb
*/
#undef LICENSE
#define LICENSE 2
#else
#ifndef LICENSE
#define LICENSE 1
#endif
#endif
/* actually we dont want Win32 code when we compile for EPOC's WINS target */
#undef _WIN32
#ifdef _DEBUG
#define DEBUG 1
#else
#define DEBUG 0
#endif
#define NO_POPEN 1
#define HAVE_USHORT 1
#define HAVE_UINT 1
#define exit(code) exit_e(code)
#define EPOC_SERVER 1
/* Tags for exported functions */
#if defined(_WIN32) && !defined(NODLL)
# if defined(PGPLIB)
# define PGPExport __declspec( dllexport )
# else
# define PGPExport __declspec( dllimport )
# endif
# if defined(PGPTTYLIB)
# define PGPTTYExport __declspec( dllexport )
# else
# define PGPTTYExport __declspec( dllimport )
# endif
# if defined(PGPKDBLIB)
# define PGPKDBExport __declspec( dllexport )
# else
# define PGPKDBExport __declspec( dllimport )
# endif
# if defined(SPGPLIB)
# define SPGPExport __declspec( dllexport )
# else
# define SPGPExport __declspec( dllimport )
# endif
#else
# define PGPExport
# define PGPTTYExport
# define PGPKDBExport
# define SPGPExport
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -