resolve cyclic dependency with zstd
[platform/upstream/cmake.git] / Source / cm_get_date.c
1 /* Distributed under the OSI-approved BSD 3-Clause License.  See accompanying
2    file Copyright.txt or https://cmake.org/licensing for details.  */
3 #include "cm_get_date.h"
4
5 // FIXME: This suppresses use of localtime_r because archive_getdate.c
6 // depends the rest of libarchive's checks for that.
7 #define CM_GET_DATE
8
9 #define __archive_get_date cm_get_date
10
11 #include "../Utilities/cmlibarchive/libarchive/archive_getdate.c"