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
76760b0e
Kaydet (Commit)
76760b0e
authored
Tem 31, 2007
tarafından
Martin v. Löwis
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Define _BSD_SOURCE, to get access to POSIX extensions on OpenBSD 4.1+.
üst
f8bbaa96
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
36 additions
and
15 deletions
+36
-15
NEWS
Misc/NEWS
+2
-0
configure
configure
+9
-1
configure.in
configure.in
+4
-0
pyconfig.h.in
pyconfig.h.in
+21
-14
No files found.
Misc/NEWS
Dosyayı görüntüle @
76760b0e
...
@@ -926,6 +926,8 @@ Tools/Demos
...
@@ -926,6 +926,8 @@ Tools/Demos
Build
Build
-----
-----
-
Define
_BSD_SOURCE
,
to
get
access
to
POSIX
extensions
on
OpenBSD
4.1
+.
-
Stop
supporting
AtheOS
and
cause
a
build
error
in
configure
for
the
platform
.
-
Stop
supporting
AtheOS
and
cause
a
build
error
in
configure
for
the
platform
.
-
Bug
#
1655392
:
don
't add -L/usr/lib/pythonX.Y/config to the LDFLAGS
-
Bug
#
1655392
:
don
't add -L/usr/lib/pythonX.Y/config to the LDFLAGS
...
...
configure
Dosyayı görüntüle @
76760b0e
#! /bin/sh
#! /bin/sh
# From configure.in Revision: 5
4283
.
# From configure.in Revision: 5
5739
.
# Guess values for system-dependent variables and create Makefiles.
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.61 for python 2.6.
# Generated by GNU Autoconf 2.61 for python 2.6.
#
#
...
@@ -1838,6 +1838,14 @@ cat >>confdefs.h <<\_ACEOF
...
@@ -1838,6 +1838,14 @@ cat >>confdefs.h <<\_ACEOF
_ACEOF
_ACEOF
# OpenBSD undoes our definition of __BSD_VISIBLE if _XOPEN_SOURCE is
# also defined. This can be overridden by defining _BSD_SOURCE
cat >>confdefs.h <<\_ACEOF
#define _BSD_SOURCE 1
_ACEOF
# The later defininition of _XOPEN_SOURCE and _POSIX_C_SOURCE disables
# The later defininition of _XOPEN_SOURCE and _POSIX_C_SOURCE disables
# u_int on Irix 5.3. Defining _BSD_TYPES brings it back.
# u_int on Irix 5.3. Defining _BSD_TYPES brings it back.
...
...
configure.in
Dosyayı görüntüle @
76760b0e
...
@@ -50,6 +50,10 @@ AC_DEFINE(_NETBSD_SOURCE, 1, [Define on NetBSD to activate all library features]
...
@@ -50,6 +50,10 @@ AC_DEFINE(_NETBSD_SOURCE, 1, [Define on NetBSD to activate all library features]
# them.
# them.
AC_DEFINE(__BSD_VISIBLE, 1, [Define on FreeBSD to activate all library features])
AC_DEFINE(__BSD_VISIBLE, 1, [Define on FreeBSD to activate all library features])
# OpenBSD undoes our definition of __BSD_VISIBLE if _XOPEN_SOURCE is
# also defined. This can be overridden by defining _BSD_SOURCE
AC_DEFINE(_BSD_SOURCE, 1, [Define on OpenBSD to activate all library features])
# The later defininition of _XOPEN_SOURCE and _POSIX_C_SOURCE disables
# The later defininition of _XOPEN_SOURCE and _POSIX_C_SOURCE disables
# u_int on Irix 5.3. Defining _BSD_TYPES brings it back.
# u_int on Irix 5.3. Defining _BSD_TYPES brings it back.
AC_DEFINE(_BSD_TYPES, 1, [Define on Irix to enable u_int])
AC_DEFINE(_BSD_TYPES, 1, [Define on Irix to enable u_int])
...
...
pyconfig.h.in
Dosyayı görüntüle @
76760b0e
...
@@ -103,6 +103,10 @@
...
@@ -103,6 +103,10 @@
/* Define if you have the 'resize_term' function. */
/* Define if you have the 'resize_term' function. */
#undef HAVE_CURSES_RESIZE_TERM
#undef HAVE_CURSES_RESIZE_TERM
/* Define to 1 if you have the declaration of `tzname', and to 0 if you don't.
*/
#undef HAVE_DECL_TZNAME
/* Define to 1 if you have the device macros. */
/* Define to 1 if you have the device macros. */
#undef HAVE_DEVICE_MACROS
#undef HAVE_DEVICE_MACROS
...
@@ -802,22 +806,22 @@
...
@@ -802,22 +806,22 @@
/* Define if i>>j for signed int i does not extend the sign bit when i < 0 */
/* Define if i>>j for signed int i does not extend the sign bit when i < 0 */
#undef SIGNED_RIGHT_SHIFT_ZERO_FILLS
#undef SIGNED_RIGHT_SHIFT_ZERO_FILLS
/* The size of
a
`double', as computed by sizeof. */
/* The size of `double', as computed by sizeof. */
#undef SIZEOF_DOUBLE
#undef SIZEOF_DOUBLE
/* The size of
a
`float', as computed by sizeof. */
/* The size of `float', as computed by sizeof. */
#undef SIZEOF_FLOAT
#undef SIZEOF_FLOAT
/* The size of
a
`fpos_t', as computed by sizeof. */
/* The size of `fpos_t', as computed by sizeof. */
#undef SIZEOF_FPOS_T
#undef SIZEOF_FPOS_T
/* The size of
a
`int', as computed by sizeof. */
/* The size of `int', as computed by sizeof. */
#undef SIZEOF_INT
#undef SIZEOF_INT
/* The size of
a
`long', as computed by sizeof. */
/* The size of `long', as computed by sizeof. */
#undef SIZEOF_LONG
#undef SIZEOF_LONG
/* The size of
a
`long long', as computed by sizeof. */
/* The size of `long long', as computed by sizeof. */
#undef SIZEOF_LONG_LONG
#undef SIZEOF_LONG_LONG
/* The number of bytes in an off_t. */
/* The number of bytes in an off_t. */
...
@@ -826,25 +830,25 @@
...
@@ -826,25 +830,25 @@
/* The number of bytes in a pthread_t. */
/* The number of bytes in a pthread_t. */
#undef SIZEOF_PTHREAD_T
#undef SIZEOF_PTHREAD_T
/* The size of
a
`short', as computed by sizeof. */
/* The size of `short', as computed by sizeof. */
#undef SIZEOF_SHORT
#undef SIZEOF_SHORT
/* The size of
a
`size_t', as computed by sizeof. */
/* The size of `size_t', as computed by sizeof. */
#undef SIZEOF_SIZE_T
#undef SIZEOF_SIZE_T
/* The number of bytes in a time_t. */
/* The number of bytes in a time_t. */
#undef SIZEOF_TIME_T
#undef SIZEOF_TIME_T
/* The size of
a
`uintptr_t', as computed by sizeof. */
/* The size of `uintptr_t', as computed by sizeof. */
#undef SIZEOF_UINTPTR_T
#undef SIZEOF_UINTPTR_T
/* The size of
a
`void *', as computed by sizeof. */
/* The size of `void *', as computed by sizeof. */
#undef SIZEOF_VOID_P
#undef SIZEOF_VOID_P
/* The size of
a
`wchar_t', as computed by sizeof. */
/* The size of `wchar_t', as computed by sizeof. */
#undef SIZEOF_WCHAR_T
#undef SIZEOF_WCHAR_T
/* The size of
a
`_Bool', as computed by sizeof. */
/* The size of `_Bool', as computed by sizeof. */
#undef SIZEOF__BOOL
#undef SIZEOF__BOOL
/* Define to 1 if you have the ANSI C header files. */
/* Define to 1 if you have the ANSI C header files. */
...
@@ -924,6 +928,9 @@
...
@@ -924,6 +928,9 @@
# undef _ALL_SOURCE
# undef _ALL_SOURCE
#endif
#endif
/* Define on OpenBSD to activate all library features */
#undef _BSD_SOURCE
/* Define on Irix to enable u_int */
/* Define on Irix to enable u_int */
#undef _BSD_TYPES
#undef _BSD_TYPES
...
@@ -980,7 +987,7 @@
...
@@ -980,7 +987,7 @@
/* Define to `int' if <sys/types.h> does not define. */
/* Define to `int' if <sys/types.h> does not define. */
#undef mode_t
#undef mode_t
/* Define to `long' if <sys/types.h> does not define. */
/* Define to `long
int
' if <sys/types.h> does not define. */
#undef off_t
#undef off_t
/* Define to `int' if <sys/types.h> does not define. */
/* Define to `int' if <sys/types.h> does not define. */
...
@@ -989,7 +996,7 @@
...
@@ -989,7 +996,7 @@
/* Define to empty if the keyword does not work. */
/* Define to empty if the keyword does not work. */
#undef signed
#undef signed
/* Define to `unsigned' if <sys/types.h> does not define. */
/* Define to `unsigned
int
' if <sys/types.h> does not define. */
#undef size_t
#undef size_t
/* Define to `int' if <sys/socket.h> does not define. */
/* Define to `int' if <sys/socket.h> does not define. */
...
...
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