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

python - Writing Greek in matplotlib labels, titles -

cmake set_source_files_properties not working properly -

Pygame memory leak with transform.flip -