From c1c5169e2636209a9a60158d3d16a0f88e4a3cb9 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Mon, 17 May 2010 14:08:22 +0200 Subject: added some comments around compiler specific port sections --- include/wolf/port/sys.h | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/wolf/port/sys.h b/include/wolf/port/sys.h index 5a32882..d32bb76 100644 --- a/include/wolf/port/sys.h +++ b/include/wolf/port/sys.h @@ -269,7 +269,8 @@ #define HAVE_GETADDRINFO #endif /* defined _WIN32 */ -/* Microsoft Windows compiler */ +/* special hacks for Microsoft Windows compilers */ + #if defined _MSC_VER #endif /* defined _MSC_VER */ @@ -280,6 +281,8 @@ #define INLINE inline #endif +/* special hacks for GCC compilers */ + /* define one version string for comparing GNU c versions */ #if defined __GNUC__ #if defined __GNUC_PATCHLEVEL__ @@ -289,6 +292,8 @@ #endif #endif +/* special hacks for Intel compiler */ + #if defined __INTEL_COMPILER #if( __INTEL_COMPILER >= 1100 ) @@ -304,7 +309,9 @@ /** @} */ /* @addtogroup wolf_port */ -#ifdef __PCC__ +/* special hacks for the Portable C compiler */ + +#if defined __PCC__ /* __PRETTY_FUNCTION__ is a GNU extension, no harm if we define it to _func_ * which must be there (poluted pthreads.h header file!) @@ -316,6 +323,6 @@ #define __const const #define __USER_LABEL_PREFIX__ -#endif +#endif /* defined __PCC__ **/ #endif /* ifndef WOLF_SYS_H */ -- cgit v1.2.3-54-g00ecf