mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 22:02:27 +00:00
python-3.6.zip added from Github
README.cosmo contains the necessary links.
This commit is contained in:
parent
75fc601ff5
commit
0c4c56ff39
4219 changed files with 1968626 additions and 0 deletions
28
third_party/python/Python/getcompiler.c
vendored
Normal file
28
third_party/python/Python/getcompiler.c
vendored
Normal file
|
@ -0,0 +1,28 @@
|
|||
|
||||
/* 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 */
|
||||
|
||||
const char *
|
||||
Py_GetCompiler(void)
|
||||
{
|
||||
return COMPILER;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue