diff options
author | Ivan Maidanski <ivmai@mail.ru> | 2021-08-28 23:01:45 +0300 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2021-08-30 00:54:31 +0300 |
commit | 234cdf44eedc49fa6c9cf97fa14824a800af881b (patch) | |
tree | e4022ff579f6e345ab7dfb5fc23f1009b03edf81 /mach_dep.c | |
parent | 8c9d3135b8fe78941128f126278df69a9f0807fd (diff) | |
download | bdwgc-234cdf44eedc49fa6c9cf97fa14824a800af881b.tar.gz |
Change EMSCRIPTEN macro for internal use to no-underscore format
(refactoring)
* include/private/gcconfig.h [__EMSCRIPTEN__] (EMSCRIPTEN): New macro.
* include/private/gcconfig.h [I386]: Check EMSCRIPTEN macro instead of
__EMSCRIPTEN__.
* mach_dep.c [!HAVE_PUSH_REGS] (GC_with_callee_saves_pushed): Likewise.
* os_dep.c [!ECOS && !NOSYS && !SYMBIAN]: Likewise.
* os_dep.c [USE_MUNMAP && !USE_WINALLOC && !SN_TARGET_PS3 && !AIX
&& !CYGWIN32 && !HAIKU && !HPUX] (GC_unmap): Likewise.
* os_dep.c [!THREADS]: Likewise.
* tests/test.c (reverse_test_inner): Likewise.
Diffstat (limited to 'mach_dep.c')
-rw-r--r-- | mach_dep.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -232,7 +232,7 @@ GC_INNER void GC_with_callee_saves_pushed(void (*fn)(ptr_t, void *), # if defined(HAVE_PUSH_REGS) GC_push_regs(); -# elif defined(__EMSCRIPTEN__) +# elif defined(EMSCRIPTEN) /* No-op, "registers" are pushed in GC_push_other_roots(). */ # else # if defined(UNIX_LIKE) && !defined(NO_GETCONTEXT) |