Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » #ifdef PLATFORM_POSIX #include <bits/atomicity.h> for POSIX ?
Re: #ifdef PLATFORM_POSIX [message #10611 is a reply to message #10603] Wed, 18 July 2007 23:07 Go to previous messageGo to previous message
masu is currently offline  masu
Messages: 378
Registered: February 2006
Senior Member
Ok, what about replacing mentioned section with
#ifdef PLATFORM_POSIX
#ifdef COMPILER_GCC
#if __GNUC__ > 3
#include <ext/atomicity.h>
#else
#include <bits/atomicity.h>
#endif
#else
#include <bits/atomicity.h>
#endif
#endif


maybe it is needed to also include minor version number with __GNUC_MINOR__ in the check (I only checked with gcc 4.2).

Matthias
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: best way to parse XML/svg/html style kind attribute pairs?
Next Topic: Array & Gdiplus::Pen problem
Goto Forum:
  


Current Time: Sun Jul 13 13:27:45 CEST 2025

Total time taken to generate the page: 0.04511 seconds