File fix-building-with-mingw-headers-12.patch of Package mingw64-libqt5-qtconnectivity

diff -ur qtconnectivity-everywhere-src-5.15.14+kde0/src/bluetooth/qbluetoothservicediscoveryagent_win.cpp /home/ralf/osc/build-root/openSUSE_Tumbleweed-x86_64/home/abuild/rpmbuild/BUILD/qtconnectivity-everywhere-src-5.15.14+kde0/src/bluetooth/qbluetoothservicediscoveryagent_win.cpp
--- qtconnectivity-everywhere-src-5.15.14+kde0/src/bluetooth/qbluetoothservicediscoveryagent_win.cpp	2024-05-08 07:14:39.000000000 +0200
+++ qtconnectivity-everywhere-src-5.15.14+kde0/src/bluetooth/qbluetoothservicediscoveryagent_win.cpp	2024-11-12 21:54:24.476298328 +0100
@@ -206,11 +206,7 @@
     return sequence;
 }
 
-#if defined(Q_CC_MINGW)
-# define SDP_CALLBACK
-#else
-# define SDP_CALLBACK QT_WIN_CALLBACK
-#endif
+# define SDP_CALLBACK QT_WIN_CALLBACK
 static BOOL SDP_CALLBACK bluetoothSdpCallback(ULONG attributeId, LPBYTE valueStream, ULONG streamSize, LPVOID param)
 {
     QBluetoothServiceInfo *result = static_cast<QBluetoothServiceInfo*>(param);
openSUSE Build Service is sponsored by