summaryrefslogtreecommitdiff
path: root/dyn_load.c
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2022-04-18 09:49:13 +0300
committerIvan Maidanski <ivmai@mail.ru>2022-04-18 09:49:13 +0300
commit9d77d70bed28887d4b965d1d85db6e95059952d3 (patch)
treeaa19ca913466943a737e84368a7804068893f2f5 /dyn_load.c
parentad916805e21835a728f4f055196f264180cf4ab3 (diff)
downloadbdwgc-9d77d70bed28887d4b965d1d85db6e95059952d3.tar.gz
Adjust indentation in C preprocessor directives
(reformatting) * cord/tests/de.c: Adjust indentation in directives. * cord/tests/de_win.c: Likewise. * dbg_mlc.c: Likewise. * dyn_load.c: Likewise. * extra/AmigaOS.c: Likewise. * include/gc/ec.h: Likewise. * include/gc/gc_tiny_fl.h: Likewise. * include/private/gc_locks.h: Likewise. * include/private/gc_priv.h: Likewise. * include/private/gcconfig.h: Likewise. * include/private/thread_local_alloc.h: Likewise. * malloc.c: Likewise. * mark.c: Likewise. * os_dep.c: Likewise. * ptr_chck.c: Likewise. * reclaim.c: Likewise. * tests/gctest.c: Likewise. * tools/threadlibs.c: Likewise.
Diffstat (limited to 'dyn_load.c')
-rw-r--r--dyn_load.c48
1 files changed, 24 insertions, 24 deletions
diff --git a/dyn_load.c b/dyn_load.c
index ab730805..5819a604 100644
--- a/dyn_load.c
+++ b/dyn_load.c
@@ -140,29 +140,29 @@ STATIC GC_has_static_roots_func GC_has_static_roots = 0;
/* Newer versions of GNU/Linux define this macro. We
* define it similarly for any ELF systems that don't. */
-# ifndef ElfW
-# if defined(FREEBSD)
-# if __ELF_WORD_SIZE == 32
-# define ElfW(type) Elf32_##type
-# else
-# define ElfW(type) Elf64_##type
-# endif
-# elif defined(NETBSD) || defined(OPENBSD)
-# if ELFSIZE == 32
-# define ElfW(type) Elf32_##type
-# elif ELFSIZE == 64
-# define ElfW(type) Elf64_##type
-# else
-# error Missing ELFSIZE define
-# endif
-# else
-# if !defined(ELF_CLASS) || ELF_CLASS == ELFCLASS32
-# define ElfW(type) Elf32_##type
-# else
-# define ElfW(type) Elf64_##type
-# endif
-# endif
-# endif
+# ifndef ElfW
+# if defined(FREEBSD)
+# if __ELF_WORD_SIZE == 32
+# define ElfW(type) Elf32_##type
+# else
+# define ElfW(type) Elf64_##type
+# endif
+# elif defined(NETBSD) || defined(OPENBSD)
+# if ELFSIZE == 32
+# define ElfW(type) Elf32_##type
+# elif ELFSIZE == 64
+# define ElfW(type) Elf64_##type
+# else
+# error Missing ELFSIZE define
+# endif
+# else
+# if !defined(ELF_CLASS) || ELF_CLASS == ELFCLASS32
+# define ElfW(type) Elf32_##type
+# else
+# define ElfW(type) Elf64_##type
+# endif
+# endif
+# endif
#if defined(SOLARISDL) && !defined(USE_PROC_FOR_LIBRARIES)
@@ -696,7 +696,7 @@ STATIC GC_bool GC_register_dynamic_libraries_dl_iterate_phdr(void)
# define PF_W 2
# endif
# elif !defined(HOST_ANDROID)
-# include <elf.h>
+# include <elf.h>
# endif
# ifndef HOST_ANDROID