diff options
| author | Anton Samokhvalov <[email protected]> | 2022-02-10 16:45:17 +0300 | 
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:45:17 +0300 | 
| commit | d3a398281c6fd1d3672036cb2d63f842d2cb28c5 (patch) | |
| tree | dd4bd3ca0f36b817e96812825ffaf10d645803f2 /contrib/tools/python/src | |
| parent | 72cb13b4aff9bc9cf22e49251bc8fd143f82538f (diff) | |
Restoring authorship annotation for Anton Samokhvalov <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'contrib/tools/python/src')
| -rw-r--r-- | contrib/tools/python/src/Include/pyport.h | 4 | ||||
| -rw-r--r-- | contrib/tools/python/src/config_init.c | 12 | ||||
| -rw-r--r-- | contrib/tools/python/src/config_map.c | 12 | 
3 files changed, 14 insertions, 14 deletions
diff --git a/contrib/tools/python/src/Include/pyport.h b/contrib/tools/python/src/Include/pyport.h index 8e273b9576c..ad2ff5929aa 100644 --- a/contrib/tools/python/src/Include/pyport.h +++ b/contrib/tools/python/src/Include/pyport.h @@ -759,7 +759,7 @@ extern int fdatasync(int);    BeOS and cygwin are the only other autoconf platform requiring special    linkage handling and both of these use __declspec().  */ -#if defined(__BEOS__)  +#if defined(__BEOS__)  #       define HAVE_DECLSPEC_DLL  #endif @@ -774,7 +774,7 @@ extern int fdatasync(int);  #endif  /* only get special linkage if built as shared or platform is Cygwin */ -#if defined(Py_ENABLE_SHARED)  +#if defined(Py_ENABLE_SHARED)  #       if defined(HAVE_DECLSPEC_DLL)  #               ifdef Py_BUILD_CORE  #                       define PyAPI_FUNC(RTYPE) __declspec(dllexport) RTYPE diff --git a/contrib/tools/python/src/config_init.c b/contrib/tools/python/src/config_init.c index 97a05a9893a..2fa47000b83 100644 --- a/contrib/tools/python/src/config_init.c +++ b/contrib/tools/python/src/config_init.c @@ -58,10 +58,10 @@ extern void init_scproxy(void);  #endif  #endif -#ifdef _CYGWIN_  -extern void init_multiprocessing(void);  -#endif  -  +#ifdef _CYGWIN_ +extern void init_multiprocessing(void); +#endif +  #ifdef _UNIX_  extern void init_socket(void);  extern void initcrypt(void); @@ -82,8 +82,8 @@ extern void init_socket(void);  extern void initnt(void);  extern void initpyexpat(void);  extern void initselect(void); -extern void initmsvcrt(void);  -extern void init_subprocess(void);  +extern void initmsvcrt(void); +extern void init_subprocess(void);  extern void init_winreg(void);  #endif diff --git a/contrib/tools/python/src/config_map.c b/contrib/tools/python/src/config_map.c index 4463fc44af0..6bfe125dddc 100644 --- a/contrib/tools/python/src/config_map.c +++ b/contrib/tools/python/src/config_map.c @@ -58,10 +58,10 @@  #endif  #endif -#ifdef _CYGWIN_  -{"_multiprocessing", init_multiprocessing},  -#endif  -  +#ifdef _CYGWIN_ +{"_multiprocessing", init_multiprocessing}, +#endif +  #ifdef _UNIX_  {"_socket", init_socket},  {"crypt", initcrypt}, @@ -82,8 +82,8 @@  {"nt", initnt},  {"pyexpat", initpyexpat},  {"select", initselect}, -{"msvcrt", initmsvcrt},  -{"_subprocess", init_subprocess},  +{"msvcrt", initmsvcrt}, +{"_subprocess", init_subprocess},  {"_winreg", init_winreg},  #endif  | 
