mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
579e7998b7
they both reliably pass "make check"
34 lines
503 B
C
34 lines
503 B
C
#ifdef HAVE_CONFIG_H
|
|
#include "config.h"
|
|
#endif
|
|
#ifdef VANILLA_NACL /* toxcore only uses this when libsodium is unavailable */
|
|
|
|
#ifndef __SODIUM_RUNTIME_H__
|
|
#define __SODIUM_RUNTIME_H__ 1
|
|
|
|
#include "export.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
SODIUM_EXPORT
|
|
int sodium_runtime_get_cpu_features(void);
|
|
|
|
SODIUM_EXPORT
|
|
int sodium_runtime_has_neon(void);
|
|
|
|
SODIUM_EXPORT
|
|
int sodium_runtime_has_sse2(void);
|
|
|
|
SODIUM_EXPORT
|
|
int sodium_runtime_has_sse3(void);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|
|
|
|
#endif
|