Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Unified Diff: third_party/zlib_v128/gzguts.h

Issue 1591563002: XFA: Remove ifdefs for _FX_MANAGED_CODE_. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/lpng_v163/pngmem.c ('k') | third_party/zlib_v128/zutil.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/zlib_v128/gzguts.h
diff --git a/third_party/zlib_v128/gzguts.h b/third_party/zlib_v128/gzguts.h
index a877c0eee3baaf8d856d92434003eb9c58675535..e2c3b67eedefac214db5770135c74648054177f2 100644
--- a/third_party/zlib_v128/gzguts.h
+++ b/third_party/zlib_v128/gzguts.h
@@ -116,17 +116,9 @@
extern void free OF((voidpf ptr));
#endif
-#if defined(_FX_MANAGED_CODE_) && defined(__cplusplus)
-extern "C" {
-#endif
-
extern void* FXMEM_DefaultAlloc(size_t, int);
extern void FXMEM_DefaultFree(void*, int);
-#if defined(_FX_MANAGED_CODE_) && defined(__cplusplus)
-}
-#endif
-
#define malloc(size) FXMEM_DefaultAlloc(size, 0)
#define free(ptr) FXMEM_DefaultFree(ptr, 0)
« no previous file with comments | « third_party/lpng_v163/pngmem.c ('k') | third_party/zlib_v128/zutil.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698