Ticket #33298: patch-src-config.h.diff

File patch-src-config.h.diff, 607 bytes (added by Russell-Jones-OxPhys (Russell Jones), 13 years ago)

Patch to work around QT build tool bug and allow cgal to build.

  • include/CGAL/config.h

    old new  
    2626#ifndef CGAL_CONFIG_H
    2727#define CGAL_CONFIG_H
    2828
     29
     30// Workaround to the following bug:
     31//   https://bugreports.qt.nokia.com/browse/QTBUG-22829
     32#ifdef Q_MOC_RUN
     33// When Qt moc runs on CGAL files, do not process
     34// <boost/type_traits/has_operator.hpp>
     35#  define BOOST_TT_HAS_OPERATOR_HPP_INCLUDED
     36#endif
     37
    2938#ifdef CGAL_INCLUDE_WINDOWS_DOT_H
    3039// Mimic users including this file which defines min max macros
    3140// and other names leading to name clashes