1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2025-01-22 16:20:29 +01:00

Compile only if UNW_REMOTE_ONLY is not defined.

(Logical change 1.30)
This commit is contained in:
mostang.com!davidm 2002-12-12 09:17:41 +00:00
parent 744b910408
commit 83fca930d8

View file

@ -23,6 +23,8 @@ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#ifndef UNW_REMOTE_ONLY
#define UNW_LOCAL_ONLY
#include <libunwind.h>
@ -51,3 +53,5 @@ backtrace (void **buffer, int size)
}
return n;
}
#endif /* !UNW_REMOTE_ONLY */