Skip to content
Permalink
Browse files

silence icc warning about undefined __cplusplus

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 efbe2187203a00fd771a7caffca2c34281b212aa
Showing with 1 addition and 1 deletion.
  1. +1 −1 mythtv/libs/libmythbase/mythbaseexp.h
@@ -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

0 comments on commit efbe218

Please sign in to comment.
You can’t perform that action at this time.