Commit 0aa40b87 authored by jayesh's avatar jayesh
Browse files

Some compilers like icc consider a backslash followed by a space and a newline...

Some compilers like icc consider a backslash followed by a space and a newline as a different token than a backslash followed by a newline. So making sure that the multiline macros end with a backslash followed by a newline WITHOUT a space in btw to make the preprocessor of all compilers happy
parent 07a18633
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
#define SMPD_CS_ENTER() #define SMPD_CS_ENTER()
#define SMPD_CS_EXIT() #define SMPD_CS_EXIT()
#else #else
#define SMPD_CS_ENTER() \ #define SMPD_CS_ENTER() \
MPID_Thread_mutex_lock(&MPIR_ThreadInfo.global_mutex) MPID_Thread_mutex_lock(&MPIR_ThreadInfo.global_mutex)
#define SMPD_CS_EXIT() \ #define SMPD_CS_EXIT() \
MPID_Thread_mutex_unlock(&MPIR_ThreadInfo.global_mutex) MPID_Thread_mutex_unlock(&MPIR_ThreadInfo.global_mutex)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment