Where is WIN32 defined, and how can I include this definition in my project?

后端 未结 6 1011
逝去的感伤
逝去的感伤 2021-01-11 21:06

I am including a third party header and source file into my project.

At the top of the header there is this:

#if defined(WIN32) || defined(WIN16)
#i         


        
6条回答
  •  不知归路
    2021-01-11 21:10

    For those seeking answers to the

    where is WIN32 defined

    part of the questions, I've found it defined in:

    minwindef.h

    ole2.h

    Note, I have no confidence that these are the only places it's defined. I expect there are probably other files where it's defined. Nevertheless, I thought this might help some people.

提交回复
热议问题