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
Depends on your project setup. WIN32 is defined inside the windows header files, but you can pass it to the compiler as well ("-DWIN32" for gcc for example). Try it and see whether it compiles.