[Python-checkins] cpython: only include inttypes.h (#17884)

benjamin.peterson python-checkins at python.org
Tue Sep 6 16:08:46 EDT 2016


https://hg.python.org/cpython/rev/c092eb31db05
changeset:   103137:c092eb31db05
user:        Benjamin Peterson <benjamin at python.org>
date:        Tue Sep 06 13:05:58 2016 -0700
summary:
  only include inttypes.h (#17884)

files:
  Include/pyport.h |  3 ---
  1 files changed, 0 insertions(+), 3 deletions(-)


diff --git a/Include/pyport.h b/Include/pyport.h
--- a/Include/pyport.h
+++ b/Include/pyport.h
@@ -3,10 +3,7 @@
 
 #include "pyconfig.h" /* include for defines */
 
-/* Some versions of HP-UX & Solaris need inttypes.h for int32_t,
-   INT32_MAX, etc. */
 #include <inttypes.h>
-#include <stdint.h>
 
 /**************************************************************************
 Symbols and macros to supply platform-independent interfaces to basic

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list