Skip to content

Commit

Permalink
Merge pull request #809 from mmuetzel/example
Browse files Browse the repository at this point in the history
Example: Don't include OpenMP header if building without it.
  • Loading branch information
DrTimothyAldenDavis authored May 23, 2024
2 parents 8d59151 + 07c07a2 commit a2d6045
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Example/Include/my_internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// SuiteSparse/Example/Include/my_internal.h
//------------------------------------------------------------------------------

// Copyright (c) 2022-2023, Timothy A. Davis, All Rights Reserved.
// Copyright (c) 2022-2024, Timothy A. Davis, All Rights Reserved.
// SPDX-License-Identifier: BSD-3-clause

//------------------------------------------------------------------------------
Expand Down Expand Up @@ -110,7 +110,9 @@
#endif

// OpenMP include file:
#ifdef _OPENMP
#include <omp.h>
#endif

// GMP and MPFR
#include <gmp.h>
Expand Down

0 comments on commit a2d6045

Please sign in to comment.