From 4d4b49151749f343bdcd02ae21d8385a8303b693 Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Wed, 5 Sep 2001 00:50:36 +0000 Subject: [PATCH] removed GNU compiler ifdef --- src/gdd/aitConvert.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/gdd/aitConvert.h b/src/gdd/aitConvert.h index 171ed7e6e..fce7c2677 100644 --- a/src/gdd/aitConvert.h +++ b/src/gdd/aitConvert.h @@ -8,6 +8,9 @@ * $Id$ * * $Log$ + * Revision 1.13 2001/07/03 00:58:18 jhill + * changed interface so that unreferenced table will not optimize away + * * Revision 1.12 2001/06/11 22:28:51 jhill * revert because workaround for RTEMS didnt build * @@ -134,7 +137,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); } @@ -183,7 +186,7 @@ inline void aitFromNetOrder64(aitUint64* dest, aitUint64* src) (dest)[0]=ait_temp_var_; \ } -#endif /* __cpluspluc && !__GNUC__ */ +#endif /* __cpluspluc */ #define aitToNetFloat64 aitToNetOrder64 #define aitToNetFloat32 aitToNetOrder32