1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-11-29 18:27:37 +01:00

Include <inttypes.h> instead of <stdint.h>. HP-UX doesn't have the latter.

(unw_tdep_save_loc_t): Define a dummy member, so we're ANSI-C compliant (which doesn't
	allow empty structs).

(Logical change 1.63)
This commit is contained in:
mostang.com!davidm 2003-03-19 19:25:18 +00:00
parent 58e0e100d1
commit 47c70d7858

View file

@ -26,7 +26,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#ifndef LIBUNWIND_H #ifndef LIBUNWIND_H
#define LIBUNWIND_H #define LIBUNWIND_H
#include <stdint.h> #include <inttypes.h>
#include <ucontext.h> #include <ucontext.h>
#ifdef ia64 #ifdef ia64
@ -121,6 +121,7 @@ typedef struct unw_tdep_save_loc
we could use this to specify the bit number in which a NaT bit we could use this to specify the bit number in which a NaT bit
gets saved. For now, nobody wants to know this, so it's not gets saved. For now, nobody wants to know this, so it's not
currently implemented. */ currently implemented. */
char dummy; /* ANSI C doesn't allow empty structs... */
} }
unw_tdep_save_loc_t; unw_tdep_save_loc_t;