In Windows SendMessage is a macro, mapping SendMessage to either SendMessageA or SendMessageW. That means that if you have Windows headers in your environment, local SendMessage definitions might be renamed SendMessageA or SendMessageW.
To avoid that magic renaming some code has removed the macro with undef but in
jumbo build that will cause problems with other Windows headers missing the SendMessage macro.
The best suggestion I have right now is to not use the name SendMessage in Chromium code.
The same problem exists with PostMessage (-> PostMessageA, PostMessageW).
Comment 1 by bugdroid1@chromium.org
, Nov 14 2017