#if !defined(__clang__) && !defined(__GNUC__)
# define __attribute__(a)
# define SODIUM_EXPORT_WEAK
# ifdef SODIUM_DLL_EXPORT
# define SODIUM_EXPORT __declspec(dllexport)
# define SODIUM_EXPORT __declspec(dllimport)
# define SODIUM_EXPORT __attribute__ (visibility(__global))
# define SODIUM_EXPORT __attribute__ __global
# define SODIUM_EXPORT extern __declspec(dllexport)
# define SODIUM_EXPORT __attribute__ ((visibility ("default")))
# if defined(__ELF__) && !defined(SODIUM_DISABLE_WEAK_FUNCTIONS)
# define SODIUM_EXPORT_WEAK SODIUM_EXPORT __attribute__((weak))
# define SODIUM_EXPORT_WEAK SODIUM_EXPORT
# if defined(__INTEL_COMPILER) || defined(_MSC_VER)
# define CRYPTO_ALIGN(x) __declspec(align(x))
# define CRYPTO_ALIGN(x) __attribute__ ((aligned(x)))
#define SODIUM_MIN(A, B) ((A) < (B) ? (A) : (B))
#define SODIUM_SIZE_MAX SODIUM_MIN(UINT64_MAX, SIZE_MAX)