Version file that is automatically copied into build directory.

This commit is contained in:
evoskuil 2014-04-15 19:50:09 -07:00
parent 852f1f6894
commit e9fef026f7

29
builds/msvc/version.h Normal file
View File

@ -0,0 +1,29 @@
#ifndef __SODIUM_VERSION_H__
#define __SODIUM_VERSION_H__
#include "export.h"
#define SODIUM_VERSION_STRING "0.4.5"
#define SODIUM_LIBRARY_VERSION_MAJOR 4
#define SODIUM_LIBRARY_VERSION_MINOR 5
#ifdef __cplusplus
extern "C" {
#endif
SODIUM_EXPORT
const char *sodium_version_string(void);
SODIUM_EXPORT
int sodium_library_version_major(void);
SODIUM_EXPORT
int sodium_library_version_minor(void);
#ifdef __cplusplus
}
#endif
#endif