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
7852c42a
Kaydet (Commit)
7852c42a
authored
May 24, 2009
tarafından
Antoine Pitrou
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Try to fix building under Windows (where SIZEOF_PID_T apparently doesn't exist)
üst
f53eec88
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
posixmodule.c
Modules/posixmodule.c
+1
-3
No files found.
Modules/posixmodule.c
Dosyayı görüntüle @
7852c42a
...
@@ -304,8 +304,7 @@ extern int lstat(const char *, struct stat *);
...
@@ -304,8 +304,7 @@ extern int lstat(const char *, struct stat *);
#endif
/* UNION_WAIT */
#endif
/* UNION_WAIT */
/* Issue #1983: pid_t can be longer than a C long on some systems */
/* Issue #1983: pid_t can be longer than a C long on some systems */
#ifdef SIZEOF_PID_T
#if !defined(SIZEOF_PID_T) || SIZEOF_PID_T == SIZEOF_INT
#if SIZEOF_PID_T == SIZEOF_INT
#define PARSE_PID "i"
#define PARSE_PID "i"
#define PyLong_FromPid PyLong_FromLong
#define PyLong_FromPid PyLong_FromLong
#define PyLong_AsPid PyLong_AsLong
#define PyLong_AsPid PyLong_AsLong
...
@@ -319,7 +318,6 @@ extern int lstat(const char *, struct stat *);
...
@@ -319,7 +318,6 @@ extern int lstat(const char *, struct stat *);
#define PyLong_AsPid PyLong_AsLongLong
#define PyLong_AsPid PyLong_AsLongLong
#else
#else
#error "sizeof(pid_t) is neither sizeof(int), sizeof(long) or sizeof(long long)"
#error "sizeof(pid_t) is neither sizeof(int), sizeof(long) or sizeof(long long)"
#endif
#endif
/* SIZEOF_PID_T */
#endif
/* SIZEOF_PID_T */
/* Don't use the "_r" form if we don't need it (also, won't have a
/* Don't use the "_r" form if we don't need it (also, won't have a
...
...
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