work around an issue in the intel C++ compiler on Linux

metadata
Wenzel Jakob 2012-11-02 11:50:22 -04:00
parent 8b61c6d1ca
commit b5f2bc911b
1 changed files with 6 additions and 0 deletions

View File

@ -16,6 +16,12 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#if defined(__GXX_EXPERIMENTAL_CXX0X__)
/* Needed to prevent a segmentation fault in the Intel C++
compiler on Linux (as of Nov 2012) */
#undef __GXX_EXPERIMENTAL_CXX0X__
#endif
#if MTS_SSE
#include <mitsuba/mitsuba.h>
#include <mitsuba/core/ssemath.h>