1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-20 02:25:14 -07:00

Do not compile sse/pwhash_scryptxsalsa208sha256.c unless emmintrin.h is available.

This commit is contained in:
Frank Denis 2014-04-20 09:06:07 -07:00
parent 01059444ee
commit 8c2e0189ab

View File

@ -28,6 +28,7 @@
* online backup system.
*/
#ifdef HAVE_EMMINTRIN_H
#include <emmintrin.h>
#if defined(__XOP__) && defined(DISABLED)
#include <x86intrin.h>
@ -379,3 +380,4 @@ escrypt_kdf_sse(escrypt_local_t * local,
/* Success! */
return 0;
}
#endif