summaryrefslogtreecommitdiff
path: root/gcc/unwind-pe.h
diff options
context:
space:
mode:
authorkraai <kraai@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-14 03:08:12 +0000
committerkraai <kraai@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-14 03:08:12 +0000
commite643d8eb95519e0b3b941053a9cc92d26a787de0 (patch)
tree3e28188425621db2a935d519e1f97e1b41c1599f /gcc/unwind-pe.h
parent67cae17de23d17d2d7965a48e52faa34c7b1eea9 (diff)
downloadgcc-e643d8eb95519e0b3b941053a9cc92d26a787de0.tar.gz
* unwind-c.c: Define NO_SIZE_OF_ENCODED_VALUE.
* unwind-pe.h (size_of_encoded_value): Do not define if NO_SIZE_OF_ENCODED_VALUE is defined. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67930 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/unwind-pe.h')
-rw-r--r--gcc/unwind-pe.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/unwind-pe.h b/gcc/unwind-pe.h
index d32e506667d..bfa455c4f32 100644
--- a/gcc/unwind-pe.h
+++ b/gcc/unwind-pe.h
@@ -52,6 +52,8 @@
#define DW_EH_PE_indirect 0x80
+#ifndef NO_SIZE_OF_ENCODED_VALUE
+
/* Given an encoding, return the number of bytes the format occupies.
This is only defined for fixed-size encodings, and so does not
include leb128. */
@@ -76,6 +78,8 @@ size_of_encoded_value (unsigned char encoding)
__gxx_abort ();
}
+#endif
+
#ifndef NO_BASE_OF_ENCODED_VALUE
/* Given an encoding and an _Unwind_Context, return the base to which