Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
e4826580
Kaydet (Commit)
e4826580
authored
Eki 26, 2002
tarafından
Martin v. Löwis
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Patch #628898: Define _XOPEN_SOURCE_EXTENDED and _POSIX_C_SOURCE.
üst
7fbd0126
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
3 deletions
+31
-3
configure
configure
+18
-3
configure.in
configure.in
+7
-0
pyconfig.h.in
pyconfig.h.in
+6
-0
No files found.
configure
Dosyayı görüntüle @
e4826580
#! /bin/sh
# From configure.in Revision: 1.35
7
.
# From configure.in Revision: 1.35
8
.
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.53.
#
...
...
@@ -901,7 +901,7 @@ esac
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
# absolute.
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
ac_abs_top_builddir
=
`
cd
"
$ac_dir
"
&&
cd
$
{
ac_top_builddir
}
.
&&
pwd
`
ac_abs_top_builddir=`cd "$ac_dir" && cd $
ac_top_builddir
&& pwd`
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
...
...
@@ -1242,6 +1242,21 @@ cat >>confdefs.h <<\_ACEOF
_ACEOF
# On Tru64 Unix 4.0F, defining _XOPEN_SOURCE also requires definition
# of _XOPEN_SOURCE_EXTENDED and _POSIX_C_SOURCE, or else several APIs
# are not declared. Since this is also needed in some cases for HP-UX,
# we define it globally.
cat >>confdefs.h <<\_ACEOF
#define _XOPEN_SOURCE_EXTENDED 1
_ACEOF
cat >>confdefs.h <<\_ACEOF
#define _POSIX_C_SOURCE 199506L
_ACEOF
# Arguments passed to configure.
CONFIG_ARGS="$ac_configure_args"
...
...
@@ -17160,7 +17175,7 @@ esac
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
# absolute.
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
ac_abs_top_builddir=`cd "
$ac_dir
" && cd
$
{
ac_top_builddir
}
.
&& pwd`
ac_abs_top_builddir=`cd "$ac_dir" && cd $
ac_top_builddir
&& pwd`
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
...
...
configure.in
Dosyayı görüntüle @
e4826580
...
...
@@ -33,6 +33,13 @@ AH_VERBATIM([_XOPEN_SOURCE],
#endif])
AC_DEFINE(_XOPEN_SOURCE, 500)
# On Tru64 Unix 4.0F, defining _XOPEN_SOURCE also requires definition
# of _XOPEN_SOURCE_EXTENDED and _POSIX_C_SOURCE, or else several APIs
# are not declared. Since this is also needed in some cases for HP-UX,
# we define it globally.
AC_DEFINE(_XOPEN_SOURCE_EXTENDED, 1, Define to activate Unix95-and-earlier features)
AC_DEFINE(_POSIX_C_SOURCE, 199506L, Define to activate features from IEEE Stds 1003.{123}-1995)
# Arguments passed to configure.
AC_SUBST(CONFIG_ARGS)
CONFIG_ARGS="$ac_configure_args"
...
...
pyconfig.h.in
Dosyayı görüntüle @
e4826580
...
...
@@ -785,6 +785,9 @@
this defined. */
#undef _POSIX_1_SOURCE
/* Define to activate features from IEEE Stds 1003.{123}-1995 */
#undef _POSIX_C_SOURCE
/* Define to 1 if you need to in order for `stat' and other things to work. */
#undef _POSIX_SOURCE
...
...
@@ -799,6 +802,9 @@
# define _XOPEN_SOURCE 500
#endif
/* Define to activate Unix95-and-earlier features */
#undef _XOPEN_SOURCE_EXTENDED
/* Define to 1 if type `char' is unsigned and you are not using gcc. */
#ifndef __CHAR_UNSIGNED__
# undef __CHAR_UNSIGNED__
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment