Add qsort_s declarations. Use msvcrt version.
Added definitions for d3d11 for i686 and x86_64
Updated makefiles for d3d11 def
Revert "Add qsort_s declarations. Use msvcrt version."

This reverts commit ba425e4204e7c3fbee2e992288938827c0da5728.
Add qsort_s declarations. Use msvcrt version.

Rework patch by alexpux a gmail d com, move header declarations to
sec_api headers.