From 1d6bea83dec981f4009c6d5828547615d0506efe Mon Sep 17 00:00:00 2001 From: Ralph Lange Date: Wed, 8 Oct 2008 10:31:44 +0000 Subject: [PATCH] This is included from epicsEndian.h, so it must be usable from C and C++. --- src/libCom/osi/os/default/osdWireConfig.h | 26 ++++++++++++----------- 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/src/libCom/osi/os/default/osdWireConfig.h b/src/libCom/osi/os/default/osdWireConfig.h index b51ec9665..e8def865e 100644 --- a/src/libCom/osi/os/default/osdWireConfig.h +++ b/src/libCom/osi/os/default/osdWireConfig.h @@ -1,16 +1,18 @@ -// -// Default version of osdWireConfig.h that might -// work on UNIX like systems that define -// -// Author Jeffrey O. Hill -// johill@lanl.gov -// +/* + * Default version of osdWireConfig.h that might + * work on UNIX like systems that define + * + * Author Jeffrey O. Hill + * johill@lanl.gov + */ #ifndef osdWireConfig_h #define osdWireConfig_h -// if compilation fails because this wasnt found then you may need to define an OS -// specific osdWireConfig.h +/* This file must be usable from both C and C++ */ + +/* if compilation fails because this wasnt found then you may need to define an OS + specific osdWireConfig.h */ #include #ifdef __BYTE_ORDER @@ -53,10 +55,10 @@ # error EPICS hasnt been ported to specified FLOAT_WORD_ORDER # endif # else - // assume that if neither __FLOAT_WORD_ORDER nor FLOAT_WORD_ORDER are - // defined then weird fp ordered archs like arm nwfp aren't supported + /* assume that if neither __FLOAT_WORD_ORDER nor FLOAT_WORD_ORDER are + defined then weird fp ordered archs like arm nwfp aren't supported */ # define EPICS_FLOAT_WORD_ORDER EPICS_BYTE_ORDER # endif #endif -#endif // ifdef osdWireConfig_h +#endif /* ifdef osdWireConfig_h */