Message265129
Undefining the SEM_* macros in multiprocessing.h when __ANDROID__ is set, would allow for an easier update when those functions become implemented at a future API level. The __ANDROID_API__ macro can be used for that purpose. For example, if this happens at API 24, this could be a changed to:
#if defined(__ANDROID__)
# include <android/api-level.h>
# if __ANDROID_API__ < 24
# undef sem_open
# ...
# endif
#endif |
|
Date |
User |
Action |
Args |
2016-05-08 11:16:20 | xdegaye | set | recipients:
+ xdegaye, bquinlan, python-dev, berker.peksag, Alex.Willmer |
2016-05-08 11:16:20 | xdegaye | set | messageid: <1462706180.77.0.870715089915.issue26924@psf.upfronthosting.co.za> |
2016-05-08 11:16:20 | xdegaye | link | issue26924 messages |
2016-05-08 11:16:20 | xdegaye | create | |
|