The file defines symbol renames to perform when linking. The list of symbols to rename varies between an empty list and a full list depending whether MOZ_MEMORY is set. Practically speaking, the variant with an empty list is equivalent to not using a def-file at all. This means we don't need to preprocess it any more, and we can just not use a def-file when MOZ_MEMORY is not set. As a side effect, this removes a rule from a Makefile.in. Differential Revision: https://phabricator.services.mozilla.com/D83034
23 lines
629 B
Modula-2
23 lines
629 B
Modula-2
; 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/.
|
|
|
|
LIBRARY mozglue.dll
|
|
|
|
EXPORTS
|
|
; symbols that are actually useful
|
|
malloc=je_malloc
|
|
calloc=je_calloc
|
|
realloc=je_realloc
|
|
free=je_free
|
|
posix_memalign=je_posix_memalign
|
|
malloc_usable_size=je_malloc_usable_size
|
|
malloc_good_size=je_malloc_good_size
|
|
_aligned_free=je_free
|
|
_aligned_malloc=wrap__aligned_malloc
|
|
strndup=wrap_strndup
|
|
strdup=wrap_strdup
|
|
_strdup=wrap_strdup
|
|
wcsdup=wrap_wcsdup
|
|
_wcsdup=wrap_wcsdup
|