diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 05:43:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 05:43:14 +0000 |
commit | 8dd16259287f58f9273002717ec4d27e97127719 (patch) | |
tree | 3863e62a53829a84037444beab3abd4ed9dfc7d0 /memory/build/replace_malloc_bridge.h | |
parent | Releasing progress-linux version 126.0.1-1~progress7.99u1. (diff) | |
download | firefox-8dd16259287f58f9273002717ec4d27e97127719.tar.xz firefox-8dd16259287f58f9273002717ec4d27e97127719.zip |
Merging upstream version 127.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'memory/build/replace_malloc_bridge.h')
-rw-r--r-- | memory/build/replace_malloc_bridge.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/memory/build/replace_malloc_bridge.h b/memory/build/replace_malloc_bridge.h index 6a0604d896..0e1a9e9f75 100644 --- a/memory/build/replace_malloc_bridge.h +++ b/memory/build/replace_malloc_bridge.h @@ -48,6 +48,12 @@ struct ReplaceMallocBridge; #include "mozilla/Types.h" +#ifdef _WIN32 +typedef void* platform_handle_t; +#else +typedef int platform_handle_t; +#endif + MOZ_BEGIN_EXTERN_C #ifndef REPLACE_MALLOC_IMPL @@ -124,9 +130,9 @@ class AddrInfo; // Callbacks to register debug file handles for Poison IO interpose. // See Mozilla(|Un)RegisterDebugHandle in xpcom/build/PoisonIOInterposer.h struct DebugFdRegistry { - virtual void RegisterHandle(intptr_t aFd); + virtual void RegisterHandle(platform_handle_t aFd); - virtual void UnRegisterHandle(intptr_t aFd); + virtual void UnRegisterHandle(platform_handle_t aFd); }; } // namespace mozilla |