Skip to content

Commit dfc4e64

Browse files
author
Cristy
committed
eliminate clang compiler warning
1 parent 51066ad commit dfc4e64

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
lines changed

magick/studio.h

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,6 @@
1818
#ifndef MAGICKCORE_STUDIO_H
1919
#define MAGICKCORE_STUDIO_H
2020

21-
#if defined(_OPENMP) && ((_OPENMP >= 200203) || defined(__OPENCC__))
22-
# include <omp.h>
23-
# define MAGICKCORE_OPENMP_SUPPORT 1
24-
#endif
25-
26-
#if defined(__cplusplus) || defined(c_plusplus)
27-
extern "C" {
28-
#endif
29-
3021
#if defined(WIN32) || defined(WIN64) || defined(_WIN32_WINNT)
3122
# define MAGICKCORE_WINDOWS_SUPPORT
3223
#else
@@ -56,6 +47,15 @@ extern "C" {
5647
# endif
5748
#endif
5849

50+
#if defined(_OPENMP) && ((_OPENMP >= 200203) || defined(__OPENCC__))
51+
# include <omp.h>
52+
# define MAGICKCORE_OPENMP_SUPPORT 1
53+
#endif
54+
55+
#if defined(__cplusplus) || defined(c_plusplus)
56+
extern "C" {
57+
#endif
58+
5959
#if defined(MAGICKCORE_NAMESPACE_PREFIX)
6060
# include "magick/methods.h"
6161
#endif

wand/studio.h

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,6 @@
1818
#ifndef MAGICKWAND_STUDIO_H
1919
#define MAGICKWAND_STUDIO_H
2020

21-
#if defined(_OPENMP) && ((_OPENMP >= 200203) || defined(__OPENCC__))
22-
# include <omp.h>
23-
# define MAGICKCORE_OPENMP_SUPPORT 1
24-
#endif
25-
26-
#if defined(__cplusplus) || defined(c_plusplus)
27-
extern "C" {
28-
#endif
29-
3021
#if defined(WIN32) || defined(WIN64) || defined(_WIN32_WINNT)
3122
# define MAGICKWAND_WINDOWS_SUPPORT
3223
#else
@@ -56,6 +47,15 @@ extern "C" {
5647
# endif
5748
#endif
5849

50+
#if defined(_OPENMP) && ((_OPENMP >= 200203) || defined(__OPENCC__))
51+
# include <omp.h>
52+
# define MAGICKCORE_OPENMP_SUPPORT 1
53+
#endif
54+
55+
#if defined(__cplusplus) || defined(c_plusplus)
56+
extern "C" {
57+
#endif
58+
5959
#if !defined(const)
6060
# define STDC
6161
#endif

0 commit comments

Comments
 (0)