]> granicus.if.org Git - python/commitdiff
Fixed a typo in the comment in Include/pyport.h (#425)
authorJoseph Shen <joseph.smeng@gmail.com>
Fri, 3 Mar 2017 13:44:51 +0000 (21:44 +0800)
committerSerhiy Storchaka <storchaka@gmail.com>
Fri, 3 Mar 2017 13:44:51 +0000 (15:44 +0200)
 #ifdef HAVE_DECLSPEC_DLL / #endif mismatch

Include/pyport.h

index 03c664f397777d0e3f3327d28256f4fce59be82c..684ef662af0b6a5bb1fcbe39927600ed6b3c64d9 100644 (file)
@@ -671,7 +671,7 @@ extern pid_t forkpty(int *, char *, struct termios *, struct winsize *);
 #                               define PyMODINIT_FUNC __declspec(dllexport) PyObject*
 #                       endif /* __cplusplus */
 #               endif /* Py_BUILD_CORE */
-#       endif /* HAVE_DECLSPEC */
+#       endif /* HAVE_DECLSPEC_DLL */
 #endif /* Py_ENABLE_SHARED */
 
 /* If no external linkage macros defined by now, create defaults */