Skip to content

Commit

Permalink
changement "__linux" -> "SYS_elf" car "__linux" n'est plus defini sou…
Browse files Browse the repository at this point in the history
…s Linux

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2526 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
  • Loading branch information
Damien Doligez committed Nov 15, 1999
1 parent fe05512 commit a5268f4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions asmrun/signals.c
Expand Up @@ -123,7 +123,7 @@ void leave_blocking_section(void)
void handle_signal(int sig, int code, struct sigcontext * context)
#elif defined(TARGET_power) && defined(_AIX)
void handle_signal(int sig, int code, struct sigcontext * context)
#elif defined(TARGET_power) && defined(__linux)
#elif defined(TARGET_power) && defined(SYS_elf)
void handle_signal(int sig, struct pt_regs * context)
#else
void handle_signal(int sig)
Expand Down Expand Up @@ -160,7 +160,7 @@ void handle_signal(int sig)
/* Cached in register 30 */
context->sc_jmpbuf.jmp_context.gpr[30] = (ulong_t) young_limit;
#endif
#if defined(TARGET_power) && defined(__linux)
#if defined(TARGET_power) && defined(SYS_elf)
/* Cached in register 30 */
context->gpr[30] = (unsigned long) young_limit;
#endif
Expand Down Expand Up @@ -362,7 +362,7 @@ static void trap_handler(int sig, int code, struct sigcontext * context)
}
#endif

#if defined(TARGET_power) && defined(__linux)
#if defined(TARGET_power) && defined(SYS_elf)
static void trap_handler(int sig, struct pt_regs * context)
{
/* Recover young_ptr and caml_exception_pointer from registers 31 and 29 */
Expand Down

0 comments on commit a5268f4

Please sign in to comment.