1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-14 02:08:27 +08:00
Files
CMake/Source/cm_parse_date.c
Brad King 4e5c2aadb1 libarchive: Rename cm_get_date wrapper to cm_parse_date
libarchive 3.8.0 renamed `__archive_get_date` to `archive_parse_date`.
2025-09-26 16:40:12 -04:00

12 lines
435 B
C

/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
file LICENSE.rst or https://cmake.org/licensing for details. */
#include "cm_parse_date.h"
// FIXME: This suppresses use of localtime_r because archive_parse_date.c
// depends the rest of libarchive's checks for that.
#define CM_PARSE_DATE
#define archive_parse_date cm_parse_date
#include "../Utilities/cmlibarchive/libarchive/archive_parse_date.c"