From c6f25bbce46cf8b0d6d32a0c0afc5399c7673e6a Mon Sep 17 00:00:00 2001 From: Ed Morley Date: Thu, 12 May 2011 10:50:23 -0700 Subject: [PATCH] Bug 655488 - Remove WinCE code from RDF; r=axel --- rdf/datasource/src/nsFileSystemDataSource.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rdf/datasource/src/nsFileSystemDataSource.cpp b/rdf/datasource/src/nsFileSystemDataSource.cpp index bcef1e1d5e6d..50c0ee5ea221 100644 --- a/rdf/datasource/src/nsFileSystemDataSource.cpp +++ b/rdf/datasource/src/nsFileSystemDataSource.cpp @@ -860,7 +860,7 @@ FileSystemDataSource::GetVolumeList(nsISimpleEnumerator** aResult) nsCOMPtr vol; -#if defined (XP_WIN) && !defined (WINCE) +#ifdef XP_WIN PRInt32 driveType; PRUnichar drive[32]; @@ -887,7 +887,7 @@ FileSystemDataSource::GetVolumeList(nsISimpleEnumerator** aResult) } #endif -#if defined(XP_UNIX) || defined(WINCE) +#ifdef XP_UNIX mRDFService->GetResource(NS_LITERAL_CSTRING("file:///"), getter_AddRefs(vol)); volumes->AppendElement(vol); #endif