File airspy-gcc15.patch of Package airspy

diff --git a/CMakeLists.txt b/CMakeLists.txt
index f03fa6d..0e80c43 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -8,6 +8,12 @@ if(MSVC11)
     add_definitions(-Dstrtoull=_strtoui64)
 endif(MSVC11)
 
+if (MSVC)
+    add_compile_options(/std:c17)
+else()
+    add_compile_options(-std=gnu17)
+endif()
+
 add_subdirectory(libairspy)
 add_subdirectory(airspy-tools)
 

openSUSE Build Service is sponsored by