o dont include epicsAtomicOSD.h from any of the implementations of epicsAtomicCD.h unless the compiler has support for an inline keyword o removed superfluous ifdef on EPICS_ATOMIC_INLINE all versions of epicsAtomicDefault.h and epicsAtomicOSD.h o In the implementations of epicsAtomicOSD.cpp if EPICS_ATOMIC_INLINE isnt defined define it to be empty and then include epicsAtomicOSD.h o fixing some compile time issues for solaris version of epicsAtomicOSD.h (so that Janet can run another compile on that os)
22 lines
652 B
C++
22 lines
652 B
C++
|
|
/*************************************************************************\
|
|
* Copyright (c) 2011 LANS LLC, as Operator of
|
|
* Los Alamos National Laboratory.
|
|
* EPICS BASE is distributed subject to a Software License Agreement found
|
|
* in file LICENSE that is included with this distribution.
|
|
\*************************************************************************/
|
|
|
|
/*
|
|
* Author Jeffrey O. Hill
|
|
* johill@lanl.gov
|
|
*/
|
|
|
|
#define epicsExportSharedSymbols
|
|
#include "epicsAtomic.h"
|
|
|
|
// if the compiler is unable to inline then instantiate out-of-line
|
|
#ifndef EPICS_ATOMIC_INLINE
|
|
# define EPICS_ATOMIC_INLINE
|
|
# include "epicsAtomicOSD.h"
|
|
#endif
|