Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use Windows localtime_s() if available
If available, use localtime_s() instead of localtime(). As localtime_s() is part of the Windows API, the compile check with localtime_s() should only work for those systems. Note we are not using AC_CANONICAL_HOST and then checking the $host_os here. Either localtime_s() is available, then we can use it. Or localtime_s() is not available, then we cannot use it. All of that is independent of what exactly the $host_os value actually is, and whether we have listed all appropriate values in the list of matches. Closes: #57 Closes: #66
- Loading branch information
Showing
2 changed files
with
18 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters