Skip to content

Commit

Permalink
FIX: adding missing type_traits include for casting macros with CPP11+
Browse files Browse the repository at this point in the history
  • Loading branch information
Oldes committed Sep 4, 2019
1 parent 1a63c3b commit 43f6d47
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/include/reb-c.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@
**
***********************************************************************/

#if defined(__cplusplus) && __cplusplus >= 201103L
#include <type_traits> // used in CASTING MACROS
#endif

#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
/* C-code types: use C99 */

Expand Down

0 comments on commit 43f6d47

Please sign in to comment.