aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/small-gicp/preprocessor_portability.patch
blob: 368f06a6b2c6f4047cd2413180b2017c652b510b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/include/small_gicp/registration/reduction_omp.hpp b/include/small_gicp/registration/reduction_omp.hpp
index 8c11267..7edf4a5 100644
--- a/include/small_gicp/registration/reduction_omp.hpp
+++ b/include/small_gicp/registration/reduction_omp.hpp
@@ -7,7 +7,7 @@
 namespace small_gicp {
 
 #ifndef _OPENMP
-#warning "OpenMP is not available. Parallel reduction will be disabled."
+#pragma message ( "OpenMP is not available. Parallel reduction will be disabled." )
 inline int omp_get_thread_num() {
   return 0;
 }