getcompiler.c

来自「python s60 1.4.5版本的源代码」· C语言 代码 · 共 30 行

C
30
字号
/* Portions Copyright (c) 2005 Nokia Corporation */

/* Return the compiler identification, if possible. */

#include "Python.h"

#ifndef COMPILER

#ifdef __GNUC__
#define COMPILER "\n[GCC " __VERSION__ "]"
#endif

#endif /* !COMPILER */

#ifndef COMPILER

#ifdef __cplusplus
#define COMPILER "[C++]"
#else
#define COMPILER "[C]"
#endif

#endif /* !COMPILER */

DL_EXPORT(const char *)
Py_GetCompiler(void)
{
	return COMPILER;
}

⌨️ 快捷键说明

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