aboutsummaryrefslogtreecommitdiffstats
path: root/net/mpd5/files/patch-ppp.h
blob: 46dba25791f3ee2985ff47186a41389c8e122607 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Index: src/ppp.h
===================================================================
--- src/ppp.h	(revision 2411)
+++ src/ppp.h	(working copy)
@@ -69,20 +69,15 @@
   #define assert(e)	((e) ? (void)0 : DoAssert(__FILE__, __LINE__, #e))
 
 #ifdef __clang__
-
+#ifndef NO_THREAD_SAFETY_ANALYSIS
 #ifndef THREAD_ANNOTATION_ATTRIBUTE__
   #define THREAD_ANNOTATION_ATTRIBUTE__(x)   __attribute__((x))
-#else
-  #define THREAD_ANNOTATION_ATTRIBUTE__(x)
 #endif
-
-#ifndef NO_THREAD_SAFETY_ANALYSIS
   #define NO_THREAD_SAFETY_ANALYSIS \
 	THREAD_ANNOTATION_ATTRIBUTE__(no_thread_safety_analysis)
+#endif
 #else
   #define NO_THREAD_SAFETY_ANALYSIS
-#endif
-
 #endif /* __clang__ */
 
   /* Giant Mutex handling */