From 6680738a18fc219de2e4f7be1d53e4fb251f1166 Mon Sep 17 00:00:00 2001 From: Siddhesh Poyarekar Date: Wed, 9 Jul 2014 10:36:23 +0530 Subject: Fix Wundef warning for __cplusplus All current uses of the __cplusplus macro only check if it is defined or not. Fix this #if to use $ifdef like the rest of the code. --- sysdeps/generic/unwind-pe.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysdeps') diff --git a/sysdeps/generic/unwind-pe.h b/sysdeps/generic/unwind-pe.h index a4afe5c..a6ee414 100644 --- a/sysdeps/generic/unwind-pe.h +++ b/sysdeps/generic/unwind-pe.h @@ -22,7 +22,7 @@ than duplicating code, however. */ /* If using C++, references to abort have to be qualified with std::. */ -#if __cplusplus +#ifdef __cplusplus #define __gxx_abort std::abort #else #define __gxx_abort abort -- cgit v1.1