Fixed wxAtomicInc/Dec() to not use asm/atomic.h header on Linux - it's kernel internal, not available for userspace in newer kernel versions and broken for userspace on some platforms. Use GCC's builtins instead.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2007-09-10 22:27:15 +00:00
parent eb2d0d232c
commit 479647105b
7 changed files with 13864 additions and 13615 deletions

View File

@@ -674,6 +674,11 @@ typedef pid_t GPid;
*/
#undef HAVE_VISIBILITY
/*
* Define if the compiler supports GCC's atomic memory access builtins
*/
#undef HAVE_GCC_ATOMIC_BUILTINS
/*
* The built-in regex supports advanced REs in additional to POSIX's basic
* and extended. Your system regex probably won't support this, and in this