diff options
| author | Paul Eggert | 2019-06-27 13:05:05 -0700 |
|---|---|---|
| committer | Paul Eggert | 2019-06-27 13:05:39 -0700 |
| commit | 4f2b2559ab32ff98e04eb3251d983b6ecf02700a (patch) | |
| tree | 1932d57b98d67b162caad8a0b7616ba3403aef49 /src/dired.c | |
| parent | 06d2eb33e1d189eee8d89cb5159f779e1600c4f2 (diff) | |
| download | emacs-4f2b2559ab32ff98e04eb3251d983b6ecf02700a.tar.gz emacs-4f2b2559ab32ff98e04eb3251d983b6ecf02700a.zip | |
Work around Cygwin bug with O_PATH
Problem reported by Ken Brown (Bug#36405).
* src/dired.c, src/fileio.c (O_PATH) [__CYGWIN__]: Undef.
Diffstat (limited to 'src/dired.c')
| -rw-r--r-- | src/dired.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/dired.c b/src/dired.c index 493758292b9..b8197d36a02 100644 --- a/src/dired.c +++ b/src/dired.c | |||
| @@ -41,6 +41,10 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */ | |||
| 41 | #include "buffer.h" | 41 | #include "buffer.h" |
| 42 | #include "coding.h" | 42 | #include "coding.h" |
| 43 | 43 | ||
| 44 | #ifdef __CYGWIN__ | ||
| 45 | # undef O_PATH /* Buggy in Cygwin 3.0.0 through 3.0.7. */ | ||
| 46 | #endif | ||
| 47 | |||
| 44 | #ifdef MSDOS | 48 | #ifdef MSDOS |
| 45 | #include "msdos.h" /* for fstatat */ | 49 | #include "msdos.h" /* for fstatat */ |
| 46 | #endif | 50 | #endif |