1/* 2 * Copyright 2008, Ingo Weinhold, ingo_weinhold@gmx.de. 3 * Distributed under the terms of the MIT License. 4 */ 5 6#include <setjmp.h> 7 8 9/*! This function is called by [sig]longjmp(). */ 10 11int __longjmp_return(jmp_buf buffer, int value); 12 13int 14__longjmp_return(jmp_buf buffer, int value) 15{ 16 return (value == 0 ? 1 : value); 17} 18