From 360fca950dd92c8c96b1907a8f044f6b912f073a Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Wed, 5 Sep 2001 15:10:11 +0000 Subject: [PATCH] removed ifdef on GNUC --- src/gdd/aitConvert.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/gdd/aitConvert.h b/src/gdd/aitConvert.h index ec084be52..fbffedb45 100644 --- a/src/gdd/aitConvert.h +++ b/src/gdd/aitConvert.h @@ -8,6 +8,9 @@ * $Id$ * * $Log$ + * Revision 1.5 1997/08/05 00:51:04 jhill + * fixed problems in aitString and the conversion matrix + * * Revision 1.4 1997/04/10 19:59:22 jhill * api changes * @@ -69,7 +72,7 @@ epicsShareExtern aitFunc aitConvertFromNetTable[aitTotal][aitTotal]; /* ---------- convenience routines for performing conversions ---------- */ -#if defined(__cplusplus) && !defined(__GNUC__) +#if defined(__cplusplus) inline int aitConvert(aitEnum desttype, void* dest, aitEnum srctype, const void* src, aitIndex count) @@ -100,7 +103,7 @@ inline int aitConvertFromNet(aitEnum desttype, void* dest, #define aitUint64 aitUint32 -#if defined(__cplusplus) && !defined(__GNUC__) +#if defined(__cplusplus) inline void aitToNetOrder16(aitUint16* dest,aitUint16* src) { *dest=htons(*src); } @@ -149,7 +152,7 @@ inline void aitFromNetOrder64(aitUint64* dest, aitUint64* src) (dest)[0]=ait_temp_var_; \ } -#endif /* __cpluspluc && !__GNUC__ */ +#endif /* __cpluspluc */ #define aitToNetFloat64 aitToNetOrder64 #define aitToNetFloat32 aitToNetOrder32