Commit b5d95ba
committed
Fix probable compile errors due to redefining macros
- The macro _POSIX_C_SOURCE may be defined by compilers,
a value incompatible with that specified in the source.
This may trigger compiler warnings / errors depending
on the configuration. We undefine it and redefine
it to the value that we want.
- The macro _GNU_SOURCE may be undefined in the future,
depending on which direction ola development progresses.
It is only undefined when the macro is present to avoid
future errors.1 parent 6fa41db commit b5d95ba
1 file changed
+9
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
28 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
29 | 37 | | |
30 | 38 | | |
31 | 39 | | |
| |||
0 commit comments