[PATCH] D131925: Undef FS and CS macros for Android x86_64

Chih-Hung Hsieh via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 19 15:12:04 PDT 2022


chh added a comment.

If #undef is only inserted into Procfs.h or conditioned for ANDROID, that will only fix one include path or use case.
These .h files won't compile for other include paths or with any other system files that define FS or CS.
An alternative is not to use FS or CS in these .h files, but #undef before use seems less intrusive.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D131925/new/

https://reviews.llvm.org/D131925



More information about the llvm-commits mailing list