Skip to content

Instantly share code, notes, and snippets.

@birarda
Created May 16, 2014 22:12
Show Gist options
  • Save birarda/e0ae11a4c57c95348d63 to your computer and use it in GitHub Desktop.
Save birarda/e0ae11a4c57c95348d63 to your computer and use it in GitHub Desktop.
--- qt-everywhere-opensource-src-5.2.1/qtbase/src/plugins/bearer/corewlan/qcorewlanengine.mm 2014-05-16 14:21:30.000000000 -0700
+++ qt-everywhere-opensource-src-5.2.1/qtbase/src/plugins/bearer/corewlan/qcorewlanengine.mm 2014-05-16 14:21:43.000000000 -0700
@@ -62,6 +62,7 @@
#include <net/if.h>
#include <ifaddrs.h>
+#ifndef QT_NO_BEARERMANAGEMENT
#if QT_MAC_PLATFORM_SDK_EQUAL_OR_ABOVE(__MAC_10_7, __IPHONE_NA)
@interface QT_MANGLE_NAMESPACE(QNSListener) : NSObject
@@ -863,3 +864,4 @@
#else // QT_MAC_PLATFORM_SDK_EQUAL_OR_ABOVE
#include "qcorewlanengine_10_6.mm"
#endif
+#endif // QT_NO_BEARER_MANAGEMENT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment