mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 794510: Part 3 - create NSPRFormatTime.h with temporarily undef'd NO_NSPR_10_SUPPORT for compatibility; r=ehsan
This commit is contained in:
parent
2e0526c0c4
commit
6058184f25
@ -7,6 +7,7 @@
|
||||
* This code is based on original Mozilla gnome-vfs extension. It implements
|
||||
* input stream provided by GVFS/GIO.
|
||||
*/
|
||||
#include "NSPRFormatTime.h" // must include before any headers that include prtime.h
|
||||
#include "mozilla/ModuleUtils.h"
|
||||
#include "nsIPrefService.h"
|
||||
#include "nsIPrefBranch.h"
|
||||
|
@ -5,6 +5,7 @@
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "NSPRFormatTime.h" // must include before any headers that include prtime.h
|
||||
#include "nsJARInputStream.h"
|
||||
#include "zipstruct.h" // defines ZIP compression codes
|
||||
#include "nsZipArchive.h"
|
||||
|
@ -14,6 +14,7 @@
|
||||
|
||||
*/
|
||||
|
||||
#include "NSPRFormatTime.h" // must include before any headers that include prtime.h
|
||||
#include "nsEscape.h"
|
||||
#include "nsDirectoryIndexStream.h"
|
||||
#include "nsXPIDLString.h"
|
||||
|
@ -10,6 +10,7 @@
|
||||
#define FORCE_PR_LOG // Allow logging in the release build
|
||||
#endif
|
||||
|
||||
#include "NSPRFormatTime.h" // must include before any headers that include prtime.h
|
||||
#include "mozilla/net/CookieServiceChild.h"
|
||||
#include "mozilla/net/NeckoCommon.h"
|
||||
|
||||
@ -38,7 +39,6 @@
|
||||
#include "nsAutoPtr.h"
|
||||
#include "nsReadableUtils.h"
|
||||
#include "nsCRT.h"
|
||||
#include "prtime.h"
|
||||
#include "prprf.h"
|
||||
#include "nsNetUtil.h"
|
||||
#include "nsNetCID.h"
|
||||
|
@ -3,6 +3,7 @@
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "NSPRFormatTime.h" // must include before any headers that include prtime.h
|
||||
#include "nsTraceRefcntImpl.h"
|
||||
|
||||
// if NS_BUILD_REFCNT_LOGGING isn't defined, don't try to build
|
||||
@ -14,7 +15,6 @@
|
||||
#include "nsStringStream.h"
|
||||
#include "nsXPIDLString.h"
|
||||
#include "nsIURI.h"
|
||||
#include "prtime.h"
|
||||
#include "nsCOMPtr.h"
|
||||
#include "nsIFileStreams.h"
|
||||
#include "nsNetUtil.h"
|
||||
|
@ -3,6 +3,7 @@
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "NSPRFormatTime.h" // must include before any headers that include prtime.h
|
||||
#include "nsAboutCache.h"
|
||||
#include "nsIIOService.h"
|
||||
#include "nsIServiceManager.h"
|
||||
@ -13,7 +14,6 @@
|
||||
#include "nsIURI.h"
|
||||
#include "nsCOMPtr.h"
|
||||
#include "nsNetUtil.h"
|
||||
#include "prtime.h"
|
||||
#include "nsEscape.h"
|
||||
|
||||
#include "nsICacheService.h"
|
||||
|
@ -5,6 +5,7 @@
|
||||
|
||||
#include <limits.h>
|
||||
|
||||
#include "NSPRFormatTime.h" // must include before any headers that include prtime.h
|
||||
#include "nsAboutCacheEntry.h"
|
||||
#include "nsICacheService.h"
|
||||
#include "nsICacheSession.h"
|
||||
@ -12,7 +13,6 @@
|
||||
#include "nsNetUtil.h"
|
||||
#include "nsAutoPtr.h"
|
||||
#include "prprf.h"
|
||||
#include "prtime.h"
|
||||
#include "nsEscape.h"
|
||||
|
||||
#define HEXDUMP_MAX_ROWS 16
|
||||
|
@ -3,6 +3,7 @@
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "NSPRFormatTime.h" // must include before any headers that include prtime.h
|
||||
#include "nsFTPDirListingConv.h"
|
||||
#include "nsMemory.h"
|
||||
#include "plstr.h"
|
||||
|
@ -12,6 +12,7 @@
|
||||
-Gagan Saksena 04/29/99
|
||||
*/
|
||||
|
||||
#include "NSPRFormatTime.h" // must include before any headers that include prtime.h
|
||||
#include "TestCommon.h"
|
||||
|
||||
#define FORCE_PR_LOG
|
||||
@ -56,7 +57,6 @@
|
||||
#include "nsStringAPI.h"
|
||||
#include "nsNetUtil.h"
|
||||
#include "prlog.h"
|
||||
#include "prtime.h"
|
||||
|
||||
using namespace mozilla;
|
||||
|
||||
|
@ -19,6 +19,7 @@
|
||||
|
||||
*/
|
||||
|
||||
#include "NSPRFormatTime.h" // must include before any headers that include prtime.h
|
||||
#include "nsCOMPtr.h"
|
||||
#include "nsIRDFDataSource.h"
|
||||
#include "nsIRDFNode.h"
|
||||
@ -32,7 +33,6 @@
|
||||
#include "nsString.h"
|
||||
#include "nsXPIDLString.h"
|
||||
#include "nsUnicharUtils.h"
|
||||
#include "prtime.h"
|
||||
#include "rdfutil.h"
|
||||
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
|
@ -6,11 +6,11 @@
|
||||
#undef NO_NSPR_10_SUPPORT
|
||||
#endif
|
||||
|
||||
#include "NSPRFormatTime.h" // must include before any headers that include prtime.h
|
||||
#include "nsAppRunner.h"
|
||||
|
||||
#include "prio.h"
|
||||
#include "prprf.h"
|
||||
#include "prtime.h"
|
||||
#include "prenv.h"
|
||||
|
||||
#include "nsCRT.h"
|
||||
|
@ -66,6 +66,7 @@ EXPORTS = \
|
||||
nsWeakPtr.h \
|
||||
nsInterfaceRequestorAgg.h \
|
||||
nsGZFileWriter.h \
|
||||
NSPRFormatTime.h \
|
||||
$(NULL)
|
||||
|
||||
EXPORTS_NAMESPACES = mozilla
|
||||
|
9
xpcom/base/NSPRFormatTime.h
Normal file
9
xpcom/base/NSPRFormatTime.h
Normal file
@ -0,0 +1,9 @@
|
||||
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
||||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
// Temporarily undefine to build successfully with NO_NSPR_10_SUPPORT
|
||||
#undef NO_NSPR_10_SUPPORT
|
||||
#include "prtime.h"
|
||||
#define NO_NSPR_10_SUPPORT
|
Loading…
Reference in New Issue
Block a user