Skip to content

Commit

Permalink
Fixed compilation with clang
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaka committed Sep 18, 2013
1 parent 88d7049 commit 6e179e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/LuaContext.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# include "misc/exception.hpp"
#endif

#if defined(__GNUC__) && !defined(__clang__) && __GNUC__ <= 4 && __GNUC_MINOR__ <= 7
#if (defined(__GNUC__) && !defined(__clang__) && __GNUC__ <= 4 && __GNUC_MINOR__ <= 7) || (defined(__clang__) && __clang_major__ <= 3 && __clang_minor__ <= 2)
namespace std {
template<typename T>
using is_trivially_destructible = has_trivial_destructor<T>;
Expand Down

0 comments on commit 6e179e8

Please sign in to comment.