From d3a398281c6fd1d3672036cb2d63f842d2cb28c5 Mon Sep 17 00:00:00 2001 From: Anton Samokhvalov Date: Thu, 10 Feb 2022 16:45:17 +0300 Subject: Restoring authorship annotation for Anton Samokhvalov . Commit 2 of 2. --- contrib/tools/python/src/Include/pyport.h | 4 ++-- contrib/tools/python/src/config_init.c | 12 ++++++------ contrib/tools/python/src/config_map.c | 12 ++++++------ 3 files changed, 14 insertions(+), 14 deletions(-) (limited to 'contrib/tools/python/src') 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 -- cgit v1.3