Bug 803955 followup - add missing defined(__FreeBSD__), forgotten in cf6c50786ee5. was r=bsmedberg
authorLandry Breuil <landry@openbsd.org>
Thu, 15 Nov 2012 20:07:09 +0100
changeset 113408 bbf5d4a4e73e4a7e136f0a9a8c7fbcf88d0cd1af
parent 113407 baf6f923340be01c78ce6f4232d22014ac5d42e0
child 113409 58ebb638a7ea6c3a4a19fa45c0bd8b9818c12542
child 113411 b178e727b84d838c0f43f37e707aeb7691a225d1
push id23870
push userryanvm@gmail.com
push dateFri, 16 Nov 2012 01:21:36 +0000
treeherdermozilla-central@58ebb638a7ea [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbsmedberg
bugs803955
milestone19.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 803955 followup - add missing defined(__FreeBSD__), forgotten in cf6c50786ee5. was r=bsmedberg
toolkit/xre/nsXREDirProvider.cpp
--- a/toolkit/xre/nsXREDirProvider.cpp
+++ b/toolkit/xre/nsXREDirProvider.cpp
@@ -1230,17 +1230,17 @@ nsXREDirProvider::GetSystemExtensionsDir
 
   static const char* const sExtensions = "Extensions";
   rv = localDir->AppendNative(nsDependentCString(sExtensions));
   NS_ENSURE_SUCCESS(rv, rv);
 #elif defined(XP_UNIX)
   static const char *const sysSExtDir = 
 #ifdef HAVE_USR_LIB64_DIR
     "/usr/lib64/mozilla/extensions";
-#elif defined(__OpenBSD__)
+#elif defined(__OpenBSD__) || defined(__FreeBSD__)
     "/usr/local/lib/mozilla/extensions";
 #else
     "/usr/lib/mozilla/extensions";
 #endif
 
   rv = NS_NewNativeLocalFile(nsDependentCString(sysSExtDir), false,
                              getter_AddRefs(localDir));
   NS_ENSURE_SUCCESS(rv, rv);