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
c6ebd16a
Kaydet (Commit)
c6ebd16a
authored
Haz 22, 2013
tarafından
Victor Stinner
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #11016: Try to fix compilaton of the new _stat.c module on Windows
üst
0e03d6f2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
pyport.h
Include/pyport.h
+8
-0
_stat.c
Modules/_stat.c
+4
-0
No files found.
Include/pyport.h
Dosyayı görüntüle @
c6ebd16a
...
@@ -406,6 +406,14 @@ typedef size_t Py_uhash_t;
...
@@ -406,6 +406,14 @@ typedef size_t Py_uhash_t;
#define S_ISDIR(x) (((x) & S_IFMT) == S_IFDIR)
#define S_ISDIR(x) (((x) & S_IFMT) == S_IFDIR)
#endif
#endif
#ifndef S_ISCHR
#define S_ISCHR(x) (((x) & S_IFMT) == S_IFCHR)
#endif
#ifndef S_ISBLK
#define S_ISBLK(x) (((x) & S_IFMT) == S_IFBLK)
#endif
#ifdef __cplusplus
#ifdef __cplusplus
/* Move this down here since some C++ #include's don't like to be included
/* Move this down here since some C++ #include's don't like to be included
...
...
Modules/_stat.c
Dosyayı görüntüle @
c6ebd16a
...
@@ -26,6 +26,10 @@ extern "C" {
...
@@ -26,6 +26,10 @@ extern "C" {
#include <sys/stat.h>
#include <sys/stat.h>
#endif
/* HAVE_SYS_STAT_H */
#endif
/* HAVE_SYS_STAT_H */
#ifdef MS_WINDOWS
typedef
unsigned
short
mode_t
;
#endif
/* From Python's stat.py */
/* From Python's stat.py */
#ifndef S_IMODE
#ifndef S_IMODE
# define S_IMODE 07777
# define S_IMODE 07777
...
...
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