Hi Dave, The current atomic operations preprocessing is as follows. #if defined(__SUNPRO_C) #if defined (__SunOS_5_9) // Atomic Operations are for Solaris 10 and above #else #include #define __EIF_SUNPRO_C_ATOMOPS__ #endif #endif Does the Sun Studio C compiler on Linux include atomic.h? The fix may be as simple as changing to just .