# Code explanation for absence of stdatomic.h for python build

**URL:** <https://discuss.python.org/t/code-explanation-for-absence-of-stdatomic-h-for-python-build/101623>\
**Category:** Python Help\
**Created:** [August 8, 2025, 6:49am UTC](https://discuss.python.org/t/code-explanation-for-absence-of-stdatomic-h-for-python-build/101623 "2025-08-08T06:49:28Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![zuhu2195](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/zuhu2195/32/10447_2.png) [@zuhu2195](https://discuss.python.org/u/zuhu2195)\
**Post date:** [August 11, 2025, 8:23am UTC](https://discuss.python.org/t/code-explanation-for-absence-of-stdatomic-h-for-python-build/101623/10 "2025-08-11T08:23:28Z")

</div>

Regarding your first question, my platform is NonStop(Non-Standard but similar to IBM AIX). Our compilers support C11 standards.

Regarding the second part, yes, my build errors out at pyatomic\_std.h with error of stdatomic.h not being present. However, configure goes through with the following message at the end,

```c
configure: Your compiler or platform does have a working C11 stdatomic.h. A future version of Python may require stdatomic.h.

```

so, if the configure says this, then I assumed that stdatomic.h is optional for compilation of CPython.

---

_[View the full topic](https://discuss.python.org/t/code-explanation-for-absence-of-stdatomic-h-for-python-build/101623)._
