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

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -