components/python/python27/patches/24-gethostname.patch
branchs11-update
changeset 4100 8aea711f849c
equal deleted inserted replaced
4098:19376bf84775 4100:8aea711f849c
       
     1 This patch was adapted from a 2.6 patch which came from upstream:
       
     2 http://bugs.python.org/issue19561
       
     3 
       
     4 --- Python-2.7.9/Include/pyport.h.orig	2014-12-10 07:59:32.000000000 -0800
       
     5 +++ Python-2.7.9/Include/pyport.h	2015-04-08 18:38:02.450233799 -0700
       
     6 @@ -640,11 +640,6 @@
       
     7  in platform-specific #ifdefs.
       
     8  **************************************************************************/
       
     9  
       
    10 -#ifdef SOLARIS
       
    11 -/* Unchecked */
       
    12 -extern int gethostname(char *, int);
       
    13 -#endif
       
    14 -
       
    15  #ifdef __BEOS__
       
    16  /* Unchecked */
       
    17  /* It's in the libs, but not the headers... - [cjh] */