Fix for Solaris C++ compiler

This commit is contained in:
Michael Davidsaver
2015-02-27 17:29:11 -05:00
parent 332fd550ad
commit 73dcc2745f

View File

@@ -16,11 +16,12 @@
#ifndef compilerSpecific_h
#define compilerSpecific_h
#ifndef __SUNPRO_C
#if !defined(__SUNPRO_C) && !defined (__SUNPRO_CC)
# error Not Solaris Studio
#endif
#if __SUNPRO_C<0x590
#if (defined(__SUNPRO_C) && __SUNPRO_C < 0x590) || \
(defined(__SUNPRO_CC) && __SUNPRO_CC < 0x590)
# define EPICS_ALWAYS_INLINE inline
#else
# define EPICS_ALWAYS_INLINE inline __attribute__((always_inline))