1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-11 01:42:22 +03:00

For Windows CE, a different header is required for the byteswap intrinsics.

FossilOrigin-Name: 2d572b8cdc67679cc95e69677a87e7b4a82f6c2d
This commit is contained in:
mistachkin
2015-07-24 20:43:18 +00:00
parent 08406bf064
commit 9895f73526
3 changed files with 16 additions and 12 deletions

View File

@@ -189,10 +189,14 @@
** Make sure that the compiler intrinsics we desire are enabled when
** compiling with an appropriate version of MSVC.
*/
#if defined(_MSC_VER) && _MSC_VER>=1300 && !defined(_WIN32_WCE)
# include <intrin.h>
# pragma intrinsic(_byteswap_ushort)
# pragma intrinsic(_byteswap_ulong)
#if defined(_MSC_VER) && _MSC_VER>=1300
# if !defined(_WIN32_WCE)
# include <intrin.h>
# pragma intrinsic(_byteswap_ushort)
# pragma intrinsic(_byteswap_ulong)
# else
# include <cmnintrin.h>
# endif
#endif
/*