diff --git a/src/backtrace.c b/src/backtrace.c index 97addea7..3a386aed 100644 --- a/src/backtrace.c +++ b/src/backtrace.c @@ -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 @@ -51,3 +53,5 @@ backtrace (void **buffer, int size) } return n; } + +#endif /* !UNW_REMOTE_ONLY */