summaryrefslogtreecommitdiff
path: root/netwerk/protocol/http/nsHttpHandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'netwerk/protocol/http/nsHttpHandler.cpp')
-rw-r--r--netwerk/protocol/http/nsHttpHandler.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/netwerk/protocol/http/nsHttpHandler.cpp b/netwerk/protocol/http/nsHttpHandler.cpp
index 42c7b1a8f..5dde6df71 100644
--- a/netwerk/protocol/http/nsHttpHandler.cpp
+++ b/netwerk/protocol/http/nsHttpHandler.cpp
@@ -828,15 +828,6 @@ nsHttpHandler::InitUserAgentComponents()
PR_smprintf_free(buf);
}
}
-#elif defined (XP_MACOSX)
-#if defined(__ppc__)
- mOscpu.AssignLiteral("PPC Mac OS X");
-#elif defined(__i386__) || defined(__x86_64__)
- mOscpu.AssignLiteral("Intel Mac OS X");
-#endif
- SInt32 majorVersion = nsCocoaFeatures::macOSVersionMajor();
- SInt32 minorVersion = nsCocoaFeatures::macOSVersionMinor();
- mOscpu += nsPrintfCString(" %d.%d", majorVersion, minorVersion);
#elif defined (XP_UNIX)
struct utsname name;