Skip to content

Commit 850d583

Browse files
author
Hana Dusíková
committed
disable gnu literals in intel c++ compiler
1 parent 68acf26 commit 850d583

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

include/ctre/literals.hpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,10 @@ namespace literals {
2525

2626
#define CTRE_ENABLE_LITERALS
2727
#endif
28-
29-
#ifdef __GNUC__
28+
29+
#ifdef __INTEL_COMPILER
30+
// not enable literals
31+
#elif defined __GNUC__
3032
#define CTRE_ENABLE_LITERALS
3133
#endif
3234

0 commit comments

Comments
 (0)