1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-23 20:15:19 -07:00

Merge branch 'master' of github.com:jedisct1/libsodium

* 'master' of github.com:jedisct1/libsodium:
  midipix support (#1315)
This commit is contained in:
Frank Denis 2023-09-14 22:25:35 +02:00
commit c7df4b0681
3 changed files with 5 additions and 1 deletions

View File

@ -712,7 +712,7 @@ AS_IF([test "$enable_asm" != "no"],[
AC_LINK_IFELSE([AC_LANG_PROGRAM([[
]], [[
#if defined(__amd64) || defined(__amd64__) || defined(__x86_64__)
# if defined(__CYGWIN__) || defined(__MINGW32__) || defined(__MINGW64__) || defined(_WIN32) || defined(_WIN64)
# if defined(__CYGWIN__) || defined(__MINGW32__) || defined(__MINGW64__) || defined(_WIN32) || defined(_WIN64) || defined(__midipix__)
# error Windows x86_64 calling conventions are not supported yet
# endif
/* neat */

View File

@ -32,6 +32,8 @@
# define HAVE_LINUX_COMPATIBLE_GETRANDOM
# endif
# endif
#elif defined(__midipix__)
# define HAVE_LINUX_COMPATIBLE_GETRANDOM
#elif defined(__FreeBSD__)
# include <sys/param.h>
# if defined(__FreeBSD_version) && __FreeBSD_version >= 1200000

View File

@ -30,6 +30,8 @@
# define HAVE_LINUX_COMPATIBLE_GETRANDOM
# endif
# endif
#elif defined(__midipix__)
# define HAVE_LINUX_COMPATIBLE_GETRANDOM
#elif defined(__FreeBSD__) || defined(__DragonFly__)
# include <sys/param.h>
# if (defined(__FreeBSD_version) && __FreeBSD_version >= 1200000) || \