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

Unified Diff: simd/jsimdext.inc

Issue 1948123002: Add PRIVATE flags to global symbols (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libjpeg_turbo.git@master
Patch Set: Response to comments Created 4 years, 7 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 | « simd/jsimdcpu.asm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: simd/jsimdext.inc
diff --git a/simd/jsimdext.inc b/simd/jsimdext.inc
index e1442de16fbf6eeab3fb0d49ce43d6b16568faed..f66ada348b996680432332823bc70aca6d3f6ed6 100644
--- a/simd/jsimdext.inc
+++ b/simd/jsimdext.inc
@@ -368,6 +368,16 @@ const_base:
%endif
+; Begin chromium edits
+%ifdef MACHO ; ----(nasm -fmacho -DMACHO ...)--------
+%define PRIVATE :private_extern
+%elifdef ELF ; ----(nasm -felf[64] -DELF ...)------------
+%define PRIVATE :hidden
+%else
+%define PRIVATE
+%endif
+; End chromium edits
+
; --------------------------------------------------------------------------
; Defines picked up from the C headers
;
« no previous file with comments | « simd/jsimdcpu.asm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698