// Copyright (c) 2016  GeometryFactory SARL (France).
// All rights reserved.
//
// This file is part of CGAL (www.cgal.org); you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public License as
// published by the Free Software Foundation; either version 3 of the License,
// or (at your option) any later version.
//
// Licensees holding a valid commercial license may use this file in
// accordance with the commercial license agreement provided with the software.
//
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
//
// $URL: https://github.com/CGAL/cgal/blob/releases/CGAL-4.14.3/Installation/include/CGAL/license/Interval_skip_list.h $
// $Id: Interval_skip_list.h 15fe22c 2018-12-19T18:38:05+01:00 Mael Rouxel-Labbé
// SPDX-License-Identifier: LGPL-3.0+
//
// Author(s) : Andreas Fabri
//
// Warning: this file is generated, see include/CGAL/licence/README.md

#ifndef CGAL_LICENSE_INTERVAL_SKIP_LIST_H
#define CGAL_LICENSE_INTERVAL_SKIP_LIST_H

#include <CGAL/config.h>
#include <CGAL/license.h>

#ifdef CGAL_INTERVAL_SKIP_LIST_COMMERCIAL_LICENSE

#  if CGAL_INTERVAL_SKIP_LIST_COMMERCIAL_LICENSE < CGAL_RELEASE_DATE

#    if defined(CGAL_LICENSE_WARNING)

       CGAL_pragma_warning("Your commercial license for CGAL does not cover "
                           "this release of the Interval Skip List package.")
#    endif

#    ifdef CGAL_LICENSE_ERROR
#      error "Your commercial license for CGAL does not cover this release \
              of the Interval Skip List package. \
              You get this error, as you defined CGAL_LICENSE_ERROR."
#    endif // CGAL_LICENSE_ERROR

#  endif // CGAL_INTERVAL_SKIP_LIST_COMMERCIAL_LICENSE < CGAL_RELEASE_DATE

#else // no CGAL_INTERVAL_SKIP_LIST_COMMERCIAL_LICENSE

#  if defined(CGAL_LICENSE_WARNING)
     CGAL_pragma_warning("\nThe macro CGAL_INTERVAL_SKIP_LIST_COMMERCIAL_LICENSE is not defined."
                          "\nYou use the CGAL Interval Skip List package under "
                          "the terms of the GPLv3+.")
#  endif // CGAL_LICENSE_WARNING

#  ifdef CGAL_LICENSE_ERROR
#    error "The macro CGAL_INTERVAL_SKIP_LIST_COMMERCIAL_LICENSE is not defined.\
            You use the CGAL Interval Skip List package under the terms of \
            the GPLv3+. You get this error, as you defined CGAL_LICENSE_ERROR."
#  endif // CGAL_LICENSE_ERROR

#endif // no CGAL_INTERVAL_SKIP_LIST_COMMERCIAL_LICENSE

#endif // CGAL_LICENSE_INTERVAL_SKIP_LIST_H
