aboutsummaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2015-03-01 09:21:57 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2015-03-01 09:21:57 +0000
commit0e4fcbbfab410653c4f59df25de88556fcd87d6f (patch)
tree8a5e61dd06c5e56f29c0ea2b3417e852e7bebea9 /os
parente6c4363ddbad4d4bd1bbb79e46fcdc2cda396d0e (diff)
downloadChibiOS-0e4fcbbfab410653c4f59df25de88556fcd87d6f.tar.gz
ChibiOS-0e4fcbbfab410653c4f59df25de88556fcd87d6f.tar.bz2
ChibiOS-0e4fcbbfab410653c4f59df25de88556fcd87d6f.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7707 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os')
-rw-r--r--os/various/cpp_wrappers/syscalls_cpp.hpp5
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_ */