We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a215c61 commit f275981Copy full SHA for f275981
src/alpaqa/src/util/dl-flags.cpp
@@ -12,8 +12,11 @@ DynamicLoadFlags::operator int() const {
12
#else
13
return (global ? RTLD_GLOBAL : RTLD_LOCAL) | //
14
(lazy ? RTLD_LAZY : RTLD_NOW) | //
15
- (nodelete ? RTLD_NODELETE : 0) | //
16
- (deepbind ? RTLD_DEEPBIND : 0);
+ (nodelete ? RTLD_NODELETE : 0) |
+#ifdef RTLD_DEEPBIND
17
+ (deepbind ? RTLD_DEEPBIND : 0) |
18
+#endif
19
+ 0;
20
#endif
21
}
22
0 commit comments