mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
grand renaming; added copyright to some files
This commit is contained in:
parent
0a8626eb88
commit
582646aecc
8 changed files with 154 additions and 37 deletions
|
@ -22,26 +22,30 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|||
|
||||
******************************************************************/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
/* Return the compiler identification, if possible. */
|
||||
|
||||
#include "Python.h"
|
||||
|
||||
#ifndef COMPILER
|
||||
|
||||
#ifdef __GNUC__
|
||||
#define COMPILER " [GCC " __VERSION__ "]"
|
||||
#endif
|
||||
|
||||
#endif /* !COMPILER */
|
||||
|
||||
#ifndef COMPILER
|
||||
|
||||
#ifdef __cplusplus
|
||||
#define COMPILER "[C++]"
|
||||
#else
|
||||
#define COMPILER "[C]"
|
||||
#endif
|
||||
|
||||
#endif /* !COMPILER */
|
||||
|
||||
char *
|
||||
getcompiler()
|
||||
Py_GetCompiler()
|
||||
{
|
||||
return COMPILER;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue