commit | d9205f3aa700214fb7f435c873a84bd2a1e70373 | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Thu Jul 29 21:29:52 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Thu Jul 29 21:29:52 2021 +0000 |
tree | 3be09f74c282b208781735eda78eff8e944faf6c | |
parent | d5d7eafa27a7742c9dc42da34ca240b89558adb2 [diff] | |
parent | 965ad62600f69230e546a846414be6de9d8471df [diff] |
Support compiling python2 against musl am: 66addf4ff3 am: 965ad62600 Original change: https://android-review.googlesource.com/c/platform/external/python/cpython2/+/1776890 Change-Id: If954f3a00b9b92e36de7a36cd3f3b4caf7ec098b
diff --git a/linux_x86_64/pyconfig/pyconfig.h b/linux_x86_64/pyconfig/pyconfig.h index 210484d..e6c363d 100644 --- a/linux_x86_64/pyconfig/pyconfig.h +++ b/linux_x86_64/pyconfig/pyconfig.h
@@ -858,7 +858,10 @@ #define HAVE_TMPNAM 1 /* Define to 1 if you have the `tmpnam_r' function. */ +#ifdef __GLIBC__ +// musl does not have tmpnam_r #define HAVE_TMPNAM_R 1 +#endif /* Define to 1 if your `struct tm' has `tm_zone'. Deprecated, use `HAVE_STRUCT_TM_TM_ZONE' instead. */