File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
src/common/android/include/sys Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change 33
33
// The purpose of this file is to glue the mismatching headers (Android NDK vs
34
34
// glibc) and therefore avoid doing otherwise awkward #ifdefs in the code.
35
35
// The following quirks are currently handled by this file:
36
+ // - i386: Use the Android NDK but alias user_fxsr_struct > user_fpxregs_struct.
36
37
// - aarch64: Add missing <stdint.h> include.
37
38
// - Other platforms: Just use the Android NDK unchanged.
38
39
45
46
46
47
#include_next <sys/user.h>
47
48
49
+ #ifdef __i386__
50
+ #ifdef __cplusplus
51
+ extern "C" {
52
+ #endif // __cplusplus
53
+ typedef struct user_fxsr_struct user_fpxregs_struct ;
54
+ #ifdef __cplusplus
55
+ } // extern "C"
56
+ #endif // __cplusplus
57
+ #endif // __i386__
58
+
48
59
#endif // GOOGLE_BREAKPAD_COMMON_ANDROID_INCLUDE_SYS_USER_H
You can’t perform that action at this time.
0 commit comments