Skip to content

Commit

Permalink
Make time_t size check message more helpful
Browse files Browse the repository at this point in the history
  • Loading branch information
mikee47 committed Apr 22, 2024
1 parent c8cffeb commit 174450f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sming/Core/DateTime.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
static_assert(sizeof(time_t) != 8, "Great! Now supports 64-bit - please update code");
#warning "**Y2038** time_t is only 32-bits in this build configuration"
#else
static_assert(sizeof(time_t) == 8, "Expecting 64-bit time_t");
static_assert(sizeof(time_t) == 8, "Expecting 64-bit time_t - please use GCC 10 or later");
#endif

namespace
Expand Down

0 comments on commit 174450f

Please sign in to comment.