We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a4c61bd commit 5b6eebbCopy full SHA for 5b6eebb
1 file changed
GCDWebServer/Core/GCDWebServerFunctions.m
@@ -246,7 +246,7 @@ BOOL GCDWebServerIsTextContentType(NSString* type) {
246
NSString* GCDWebServerGetPrimaryIPAddress(BOOL useIPv6) {
247
NSString* address = nil;
248
#if TARGET_OS_IPHONE
249
-#if !TARGET_IPHONE_SIMULATOR
+#if !TARGET_IPHONE_SIMULATOR && !TARGET_OS_TV
250
const char* primaryInterface = "en0"; // WiFi interface on iOS
251
#endif
252
#else
0 commit comments