This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients benjamin.peterson, jerome.hamm, python-dev, vstinner
Date 2020-04-04.22:42:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1586040153.48.0.494823148227.issue40174@roundup.psfhosted.org>
In-reply-to
Content
Usually, what I did to use #error in the C code. Something like:

#ifdef MS_WINDOWS
...
#elif defined(...)
...
#else
#  error "your platform doesn't support monotonic clock"
#endif

I dislike relying on configure for that, it's too far from the actual implementation (like pymonotonic()).
History
Date User Action Args
2020-04-04 22:42:33vstinnersetrecipients: + vstinner, benjamin.peterson, python-dev, jerome.hamm
2020-04-04 22:42:33vstinnersetmessageid: <1586040153.48.0.494823148227.issue40174@roundup.psfhosted.org>
2020-04-04 22:42:33vstinnerlinkissue40174 messages
2020-04-04 22:42:33vstinnercreate