From: falcovorbis <fal...@us...> - 2023-03-31 22:33:57
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "A pseudo Operating System for the Dreamcast.". The branch, cpp_time has been updated via d3af812e59b65f4e0eaee335aa72800cc680487f (commit) from 248b93928dbe934daea47edc60c089c851d7e644 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit d3af812e59b65f4e0eaee335aa72800cc680487f Author: falco <gyr...@gm...> Date: Fri Mar 31 18:33:28 2023 -0400 Updated CHANGELOG, fixed closing #endif comments ----------------------------------------------------------------------- Summary of changes: doc/CHANGELOG | 1 + include/kos/time.h | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/CHANGELOG b/doc/CHANGELOG index cb6ed7f..07be87c 100644 --- a/doc/CHANGELOG +++ b/doc/CHANGELOG @@ -157,6 +157,7 @@ KallistiOS version 2.1.0 ----------------------------------------------- - DC Removed "navi" subarch, moved code to addons/libnavi [LS] - *** Removed (completely unsupported) support for GCC 3.x and older [LS] - *** Add timespec_get C11 function to koslib's libc [LS] +- *** Added check to allow strict C++17+ to use timespec_get [FG] KallistiOS version 2.0.0 ----------------------------------------------- - DC Broadband Adapter driver fixes [Dan Potter == DP] diff --git a/include/kos/time.h b/include/kos/time.h index 2272642..d32da92 100644 --- a/include/kos/time.h +++ b/include/kos/time.h @@ -29,5 +29,5 @@ extern int timespec_get(struct timespec *ts, int base); __END_DECLS -#endif /* !defined(__STRICT_ANSI__) || (__STDC_VERSION__ >= 201112L) */ -#endif /* !__KOS_C11TIME_H */ +#endif /* !defined(__STRICT_ANSI__) || (__STDC_VERSION__ >= 201112L) || (__cplusplus >= 201703L) */ +#endif /* !__KOS_TIME_H */ hooks/post-receive -- A pseudo Operating System for the Dreamcast. |