Backed out changeset 88fbb17e3c20 (bug 1865637) for causing animation related mochite...
[gecko.git] / mozglue / linker / Linker.h
blob77ddb06ecc0726b03053ded8ce68ab203c8451ba
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
3 * You can obtain one at http://mozilla.org/MPL/2.0/. */
5 #ifndef Linker_h
6 #define Linker_h
8 #ifdef MOZ_LINKER
9 # include "ElfLoader.h"
10 # define __wrap_sigaction SEGVHandler::__wrap_sigaction
11 #else
12 # include <dlfcn.h>
13 # include <link.h>
14 # include <signal.h>
15 # define __wrap_sigaction sigaction
16 # define __wrap_dlopen dlopen
17 # define __wrap_dlerror dlerror
18 # define __wrap_dlsym dlsym
19 # define __wrap_dlclose dlclose
20 # define __wrap_dladdr dladdr
21 # define __wrap_dl_iterate_phdr dl_iterate_phdr
22 #endif
24 #endif