Skip to content

Commit 5b6eebb

Browse files
committed
Fixed build warning
1 parent a4c61bd commit 5b6eebb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

GCDWebServer/Core/GCDWebServerFunctions.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ BOOL GCDWebServerIsTextContentType(NSString* type) {
246246
NSString* GCDWebServerGetPrimaryIPAddress(BOOL useIPv6) {
247247
NSString* address = nil;
248248
#if TARGET_OS_IPHONE
249-
#if !TARGET_IPHONE_SIMULATOR
249+
#if !TARGET_IPHONE_SIMULATOR && !TARGET_OS_TV
250250
const char* primaryInterface = "en0"; // WiFi interface on iOS
251251
#endif
252252
#else

0 commit comments

Comments
 (0)