Mercurial > irccd
comparison cmake/check/PutTime.cmake @ 207:6635b9187d71
Irccd: switch to 4 spaces indent, #518
author | David Demelier <markand@malikania.fr> |
---|---|
date | Tue, 21 Jun 2016 20:52:17 +0200 |
parents | 1158cffe5a5e |
children | c6fbb6e0e06d |
comparison
equal
deleted
inserted
replaced
206:11808e98218f | 207:6635b9187d71 |
---|---|
20 | 20 |
21 # | 21 # |
22 # std::put_time does not exists on Debian 8, probably too old libstdc++. | 22 # std::put_time does not exists on Debian 8, probably too old libstdc++. |
23 # | 23 # |
24 check_cxx_source_compiles( | 24 check_cxx_source_compiles( |
25 "#include <iomanip> | 25 "#include <iomanip> |
26 #include <iostream> | 26 #include <iostream> |
27 | 27 |
28 int main() | 28 int main() |
29 { | 29 { |
30 std::cout << std::put_time(nullptr, \"\"); | 30 std::cout << std::put_time(nullptr, \"\"); |
31 | 31 |
32 return 0; | 32 return 0; |
33 } | 33 } |
34 " | 34 " |
35 HAVE_STD_PUT_TIME | 35 HAVE_STD_PUT_TIME |
36 ) | 36 ) |