win: Fix another intrinsic include.

_mm_getcsr is declared in intrin.h, see
https://msdn.microsoft.com/en-us/library/hh977022.aspx
This worked because transitive includes ended up pulling in winnt.h,
which also declares this function (and tells the compiler to use a
built-in).  The built-in mechanism doesn't work with clang-cl
(see http://llvm.org/PR19898 comment 10) and leads to a linker error.
Since the file tries to include the right header for _mm_getcsr, just
fix the include, which happens to make things link with clang-cl too.

This should have been part of https://codereview.chromium.org/1778653002/

BUG=https://crbug.com/592745

Review URL: https://codereview.chromium.org/1808123003
1 file changed
tree: 5e3d4e4646cf4036bc8031b8bf85c6aa0f364aab
  1. .gitignore
  2. .gn
  3. AUTHORS
  4. BUILD.gn
  5. COPYING
  6. DEPS
  7. LICENSE
  8. NOTICE
  9. OWNERS
  10. PRESUBMIT.py
  11. README.md
  12. SConstruct
  13. build/
  14. buildbot/
  15. codereview.settings
  16. docs/
  17. documentation/
  18. infra/
  19. pnacl/
  20. pynacl/
  21. run.py
  22. scons
  23. scons.bat
  24. scons.py
  25. site_scons/
  26. src/
  27. tests.gyp
  28. tests/
  29. toolchain_build/
  30. toolchain_revisions/
  31. tools/
README.md

Native Client

Welcome to Native Client. For the latest information about Native Client, see the Native Client project page.

Documentation

Most of the Native Client project documentation is available online:

Directory structure

The following list describes major files and directories that you‘ll see in your working copy of the repository, including some directories that don’t exist until you've built Native Client. Paths are relative to the native_client directory.

  • COPYING NOTICE README.md RELEASE_NOTES documentation/: Documentation, release, and license information.

  • SConstruct scons.bat scons scons-out/ site_scons/: Build-related files. The scons.bat and scons files, with data from SConstruct, let you build Native Client and its tests. The scons-out and site-scons directories don‘t exist in the git repository; they’re created when Native Client is built. The scons-out/*/staging directories contain files, such as the Native Client plug-in and compiled examples, that let you use and test Native Client.

  • src/: Core source code for Native Client.

  • src/include/: Header files that are missing from some platforms and are used by more than one major part of Native Client

  • src/shared/: Source code that's used by both trusted code (such as the service runtime) and untrusted code (such as Native Client modules)

  • src/third_party: Other people's source code

  • src/trusted/: Source code that's used only by trusted code

  • src/untrusted/: Source code that's used only by untrusted code

  • tests/common/: Source code for examples and tests.

  • ../third_party/: Third-party source code and binaries that aren't part of the service runtime. When built, the Native Client toolchain is in src/third_party/nacl_sdk/.

  • tools/: Utilities such as the plug-in installer.