diff options
-rw-r--r-- | os/various/cpp_wrappers/syscalls_cpp.hpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/os/various/cpp_wrappers/syscalls_cpp.hpp b/os/various/cpp_wrappers/syscalls_cpp.hpp index 927f71f88..681ce2cb2 100644 --- a/os/various/cpp_wrappers/syscalls_cpp.hpp +++ b/os/various/cpp_wrappers/syscalls_cpp.hpp @@ -1,8 +1,8 @@ #ifndef SYSCALLS_CPP_HPP_
#define SYSCALLS_CPP_HPP_
-/* The ABI requires a 64-bit type. */
-__extension__ typedef int __guard __attribute__((mode (__DI__)));
+/* The ABI requires a 32-bit type.*/
+typedef int __guard;
int __cxa_guard_acquire(__guard *);
void __cxa_guard_release (__guard *);
@@ -10,5 +10,4 @@ void __cxa_guard_abort (__guard *); void *__dso_handle = NULL;
-
#endif /* SYSCALLS_CPP_HPP_ */
|