Commit e5bcf24
Protect grpc generated sources from unwanted system macros (grpc#39266)
grpc#38474 added protection from unwanted macros to the header files. This PR adds the same protection to the source files.
Without protection both in header and source files the code containing system macros will not compile. Macros will apply to function names in cc files and those will start to differ from the ones in header files.
This solves issues like described here: conda-forge/google-cloud-cpp-feedstock#196
Closes grpc#39266
COPYBARA_INTEGRATE_REVIEW=grpc#39266 from simia:protect_cc_files 3323fba
PiperOrigin-RevId: 7515010201 parent 96bb185 commit e5bcf24
1 file changed
+11
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1744 | 1744 | | |
1745 | 1745 | | |
1746 | 1746 | | |
1747 | | - | |
1748 | | - | |
1749 | | - | |
1750 | | - | |
1751 | | - | |
1752 | | - | |
1753 | | - | |
1754 | | - | |
1755 | | - | |
1756 | | - | |
1757 | | - | |
1758 | | - | |
1759 | | - | |
1760 | | - | |
| 1747 | + | |
| 1748 | + | |
| 1749 | + | |
| 1750 | + | |
| 1751 | + | |
| 1752 | + | |
| 1753 | + | |
| 1754 | + | |
| 1755 | + | |
1761 | 1756 | | |
1762 | 1757 | | |
1763 | 1758 | | |
| |||
2253 | 2248 | | |
2254 | 2249 | | |
2255 | 2250 | | |
| 2251 | + | |
| 2252 | + | |
2256 | 2253 | | |
2257 | 2254 | | |
2258 | 2255 | | |
| |||
0 commit comments