diff options
author | Anton Samokhvalov <pg83@yandex.ru> | 2022-02-10 16:45:15 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:15 +0300 |
commit | 72cb13b4aff9bc9cf22e49251bc8fd143f82538f (patch) | |
tree | da2c34829458c7d4e74bdfbdf85dff449e9e7fb8 /contrib/tools/python/src | |
parent | 778e51ba091dc39e7b7fcab2b9cf4dbedfb6f2b5 (diff) | |
download | ydb-72cb13b4aff9bc9cf22e49251bc8fd143f82538f.tar.gz |
Restoring authorship annotation for Anton Samokhvalov <pg83@yandex.ru>. Commit 1 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 ad2ff5929a..8e273b9576 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 2fa47000b8..97a05a9893 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 6bfe125ddd..4463fc44af 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 |