What's with “#ifdef _MAC” in Windows header files?

后端 未结 5 617
南方客
南方客 2021-02-07 07:36

I was browsing through Windows\'s Platform SDK header files (what a life, right?), and I noticed many places contained references to the preprocessor symbol _MAC. F

5条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-02-07 08:17

    Lots of MS code has references to MAC as they develop for mac as well - for example office. Probably this bit of the header file came from those teams.

提交回复
热议问题