usnistgov / trec_eval

Evaluation software used in the Text Retrieval Conference
232 stars 49 forks source link

Adaptation from Pull Request #17, fence these #defines in #ifndefs. #19

Closed isoboroff closed 4 years ago

isoboroff commented 4 years ago

This is in response to pull request #17 which just removed the #defines for bcopy and bzero. That fixes a compile warning on macOS.

On Linux (Ubuntu 18) there was no compile warning, so I'm wary of just dropping them. I decided to fence them in #ifndef's instead. Tested with quick and longtest on