andreymulik / sdp

Simple Data Processing
BSD 3-Clause "New" or "Revised" License
0 stars 2 forks source link

fix: ensure platform-agnostic macro expansion #2

Closed flurie closed 2 years ago

flurie commented 2 years ago

Possible fix for #1. Providing the change that allowed me to build successfully on macOS (both x86_64 and aarch64).

Note that we need to pass -traditional to cpphs because otherwise the preprocessor will treat // as a c++-style comment.