[libc-commits] [libc] [libc] Complete hardening of time functions and remove Y2038 limit (PR #203298)

Pavel Labath via libc-commits libc-commits at lists.llvm.org
Thu Jun 11 23:35:44 PDT 2026


================
@@ -18,9 +18,7 @@ using LIBC_NAMESPACE::testing::ErrnoSetterMatcher::Fails;
 using LIBC_NAMESPACE::testing::ErrnoSetterMatcher::Succeeds;
 using LIBC_NAMESPACE::time_constants::Month;
 
-#ifndef EOVERFLOW
-#define EOVERFLOW 0
-#endif
+#include "src/time/time_utils.h"
----------------
labath wrote:

This should go next to the other includes.

https://github.com/llvm/llvm-project/pull/203298


More information about the libc-commits mailing list