mirror of
https://github.com/jedisct1/libsodium.git
synced 2026-08-25 08:37:13 +09:00
Merge branch 'master' of github.com:jedisct1/libsodium
* 'master' of github.com:jedisct1/libsodium: midipix support (#1315)
This commit is contained in:
+1
-1
@@ -712,7 +712,7 @@ AS_IF([test "$enable_asm" != "no"],[
|
|||||||
AC_LINK_IFELSE([AC_LANG_PROGRAM([[
|
AC_LINK_IFELSE([AC_LANG_PROGRAM([[
|
||||||
]], [[
|
]], [[
|
||||||
#if defined(__amd64) || defined(__amd64__) || defined(__x86_64__)
|
#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
|
# error Windows x86_64 calling conventions are not supported yet
|
||||||
# endif
|
# endif
|
||||||
/* neat */
|
/* neat */
|
||||||
|
|||||||
@@ -32,6 +32,8 @@
|
|||||||
# define HAVE_LINUX_COMPATIBLE_GETRANDOM
|
# define HAVE_LINUX_COMPATIBLE_GETRANDOM
|
||||||
# endif
|
# endif
|
||||||
# endif
|
# endif
|
||||||
|
#elif defined(__midipix__)
|
||||||
|
# define HAVE_LINUX_COMPATIBLE_GETRANDOM
|
||||||
#elif defined(__FreeBSD__)
|
#elif defined(__FreeBSD__)
|
||||||
# include <sys/param.h>
|
# include <sys/param.h>
|
||||||
# if defined(__FreeBSD_version) && __FreeBSD_version >= 1200000
|
# if defined(__FreeBSD_version) && __FreeBSD_version >= 1200000
|
||||||
|
|||||||
@@ -30,6 +30,8 @@
|
|||||||
# define HAVE_LINUX_COMPATIBLE_GETRANDOM
|
# define HAVE_LINUX_COMPATIBLE_GETRANDOM
|
||||||
# endif
|
# endif
|
||||||
# endif
|
# endif
|
||||||
|
#elif defined(__midipix__)
|
||||||
|
# define HAVE_LINUX_COMPATIBLE_GETRANDOM
|
||||||
#elif defined(__FreeBSD__) || defined(__DragonFly__)
|
#elif defined(__FreeBSD__) || defined(__DragonFly__)
|
||||||
# include <sys/param.h>
|
# include <sys/param.h>
|
||||||
# if (defined(__FreeBSD_version) && __FreeBSD_version >= 1200000) || \
|
# if (defined(__FreeBSD_version) && __FreeBSD_version >= 1200000) || \
|
||||||
|
|||||||
Reference in New Issue
Block a user