Skip to content
This repository has been archived by the owner on May 29, 2020. It is now read-only.

Commit

Permalink
GCC/Clang only support __builtin_strlen for char*
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmiddleditch committed Feb 25, 2019
1 parent c23be3b commit 6e7402f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/formatxx/format.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
#include <type_traits>

#if !defined(FORMATXX_USE_BUILTIN_STRLEN)
# if (defined(_MSC) && _MSC >= 1700) || (defined(__clang__) || __clang__ >= 4) || (defined __GNUC__ && __GNUC__ >= 5)
# if defined(_MSC) && _MSC >= 1700
# define FORMATXX_USE_BUILTIN_STRLEN
# endif
#endif
Expand Down

0 comments on commit 6e7402f

Please sign in to comment.