Commit d58fcca
os/linux: add more linux detection defines. (boostorg#91)
Some releases of g++, on some platforms, whilst running under some
standards, may not define neither linux, nor __linux. Add detections
for __linux__ and __gnu_linux__ for robustness.1 parent aa94d69 commit d58fccaCopy full SHA for d58fcca
File tree
Expand file treeCollapse file tree
1 file changed
+4
-1
lines changedOpen diff view settings
Filter options
- include/boost/predef/os
Expand file treeCollapse file tree
1 file changed
+4
-1
lines changedOpen diff view settings
Collapse file
include/boost/predef/os/linux.h
Copy file name to clipboardExpand all lines: include/boost/predef/os/linux.h+4-1Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
21 | 21 | |
22 | 22 | |
23 | 23 | |
| 24 | + |
| 25 | + |
24 | 26 | |
25 | 27 | |
26 | 28 | |
27 | 29 | |
28 | 30 | |
29 | 31 | |
30 | | - |
| 32 | + |
| 33 | + |
31 | 34 | |
32 | 35 | |
33 | 36 | |
|
0 commit comments