https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119975
--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Robert Dubner <rdub...@gcc.gnu.org>: https://gcc.gnu.org/g:8fc9e03a70fd08b54449b05833b00e7f8ad01c25 commit r16-1064-g8fc9e03a70fd08b54449b05833b00e7f8ad01c25 Author: Robert Dubner <rdub...@symas.com> Date: Mon Jun 2 15:55:20 2025 -0400 cobol: Honor HAVE_CLOCK_GETTIME and HAVE_GETTIMEOFDAY. [PR119975] These changes cause genapi.cc to use whichever of clock_gettime() or gettimeofday() are available. This prevents compilation errors on systems where clock_gettime() is not available. gcc/cobol/ChangeLog: PR cobol/119975 * genapi.cc (parser_intrinsic_call_0): Use get_time_64() function. * genutil.cc (get_time_64): Definition created. * genutil.h (get_time_64): Declaration created.