c++ - Can't we include windows.h while using native client toolchain? -


By compiling code using the native client toolchain - nickname 64 (using Visual Studio-10) Getting:

  logger.cpp (46,21): Warning: windows.h: no such file or directory   

Can not use windows.h using client toolchain ??

As you might have thought, Native Client is designed to create binaries Hosts can run on the operating system. Including OS-specific headers will not take your code in that direction

If you are based on a portable that is being defined in a non-portable header, then redefine it in your own header.

Comments

Popular posts from this blog

c++ - Cmake produces file extensions in static library archives -

c# - Roxy file manager in MVC doesn't accept session path -

c# - Check if a NumericUpDown has no value -