]> git.proxmox.com Git - mirror_edk2.git/blame - AppPkg/Applications/Python/Python-2.7.10/Python/getcompiler.c
EmbeddedPkg: Extend NvVarStoreFormattedLib LIBRARY_CLASS
[mirror_edk2.git] / AppPkg / Applications / Python / Python-2.7.10 / Python / getcompiler.c
CommitLineData
c8042e10
DM
1\r
2/* Return the compiler identification, if possible. */\r
3\r
4#include "Python.h"\r
5\r
6#ifndef COMPILER\r
7\r
8#ifdef __GNUC__\r
9#define COMPILER "\n[GCC " __VERSION__ "]"\r
10#endif\r
11\r
12#endif /* !COMPILER */\r
13\r
14#ifndef COMPILER\r
15\r
16#ifdef __cplusplus\r
17#define COMPILER "[C++]"\r
18#else\r
19#define COMPILER "[C]"\r
20#endif\r
21\r
22#endif /* !COMPILER */\r
23\r
24const char *\r
25Py_GetCompiler(void)\r
26{\r
27 return COMPILER;\r
28}\r