diff options
author | Benjamin Peterson <benjamin@python.org> | 2018-09-14 04:57:31 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-14 04:57:31 (GMT) |
commit | ea13740a37347d68d096b11b87c9167917ccfc22 (patch) | |
tree | cefec723d8b1b3ea3bdf87cd0db53639cec6edfd /Include | |
parent | 1aeba7458d2aaf8a03b5d443179d122ceb2ccece (diff) | |
download | cpython-ea13740a37347d68d096b11b87c9167917ccfc22.zip cpython-ea13740a37347d68d096b11b87c9167917ccfc22.tar.gz cpython-ea13740a37347d68d096b11b87c9167917ccfc22.tar.bz2 |
bpo-34674: Assume unistd.h exists on Unix. (GH-9290)
Diffstat (limited to 'Include')
-rw-r--r-- | Include/Python.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/Python.h b/Include/Python.h index bf1ca6c..1bac5bd 100644 --- a/Include/Python.h +++ b/Include/Python.h @@ -32,7 +32,7 @@ #include <errno.h> #endif #include <stdlib.h> -#ifdef HAVE_UNISTD_H +#ifndef MS_WINDOWS #include <unistd.h> #endif #ifdef HAVE_CRYPT_H |