Skip to content

Commit

Permalink
silence icc warning about undefined __cplusplus
Browse files Browse the repository at this point in the history
This is the inverse of the optimization mentioned at
http://gcc.gnu.org/onlinedocs/cpp/Defined.html#Defined
  • Loading branch information
dekarl committed Jun 4, 2013
1 parent a2eb931 commit efbe218
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/libs/libmythbase/mythbaseexp.h
Expand Up @@ -33,7 +33,7 @@

#define MOVERRIDE
#define MFINAL
#if (__cplusplus >= 201103L)
#if (defined (__cplusplus) && (__cplusplus >= 201103L))
# if ((__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 7))) || \
(defined(__ICC) || defined(__INTEL_COMPILER))
# undef MOVERRIDE
Expand Down

0 comments on commit efbe218

Please sign in to comment.