diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2010-05-17 14:08:22 +0200 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2010-05-17 14:08:22 +0200 |
commit | c1c5169e2636209a9a60158d3d16a0f88e4a3cb9 (patch) | |
tree | 1ae67e8066120f1a14c558b9b3d3e12499fd8464 /include | |
parent | 416b892e1cca24de1de29a1e6c9913855db760fb (diff) | |
download | wolfbones-c1c5169e2636209a9a60158d3d16a0f88e4a3cb9.tar.gz wolfbones-c1c5169e2636209a9a60158d3d16a0f88e4a3cb9.tar.bz2 |
added some comments around compiler specific port sections
Diffstat (limited to 'include')
-rw-r--r-- | include/wolf/port/sys.h | 13 |
1 files changed, 10 insertions, 3 deletions
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 */ |