Don't forget SODIUM_EXPORT in version.h.in
This commit is contained in:
parent
4fff338810
commit
65e1b792dc
@ -2,6 +2,8 @@
|
|||||||
#ifndef __SODIUM_VERSION_H__
|
#ifndef __SODIUM_VERSION_H__
|
||||||
#define __SODIUM_VERSION_H__
|
#define __SODIUM_VERSION_H__
|
||||||
|
|
||||||
|
#include "export.h"
|
||||||
|
|
||||||
#define SODIUM_VERSION_STRING "@VERSION@"
|
#define SODIUM_VERSION_STRING "@VERSION@"
|
||||||
|
|
||||||
#define SODIUM_LIBRARY_VERSION_MAJOR @SODIUM_LIBRARY_VERSION_MAJOR@
|
#define SODIUM_LIBRARY_VERSION_MAJOR @SODIUM_LIBRARY_VERSION_MAJOR@
|
||||||
@ -11,8 +13,13 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
SODIUM_EXPORT
|
||||||
const char *sodium_version_string(void);
|
const char *sodium_version_string(void);
|
||||||
|
|
||||||
|
SODIUM_EXPORT
|
||||||
int sodium_library_version_major(void);
|
int sodium_library_version_major(void);
|
||||||
|
|
||||||
|
SODIUM_EXPORT
|
||||||
int sodium_library_version_minor(void);
|
int sodium_library_version_minor(void);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
Loading…
Reference in New Issue
Block a user