summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/wolf/port/sys.h13
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 */