From b91baa687ed4f219a2ee63815c625221fe05420a Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Mon, 29 Sep 2014 22:27:15 -0700 Subject: [PATCH] SODIUM_VERSION_STRING should be the package version even on Visual Studio --- builds/msvc/version.h | 2 +- msvc-scripts/process.bat | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/builds/msvc/version.h b/builds/msvc/version.h index 671f40a6..da4fd43c 100644 --- a/builds/msvc/version.h +++ b/builds/msvc/version.h @@ -4,7 +4,7 @@ #include "export.h" -#define SODIUM_VERSION_STRING "0.7.2" +#define SODIUM_VERSION_STRING "1.0.0" #define SODIUM_LIBRARY_VERSION_MAJOR 7 #define SODIUM_LIBRARY_VERSION_MINOR 2 diff --git a/msvc-scripts/process.bat b/msvc-scripts/process.bat index 3a5df709..2d031879 100755 --- a/msvc-scripts/process.bat +++ b/msvc-scripts/process.bat @@ -1,4 +1,4 @@ -cscript msvc-scripts/rep.vbs //Nologo s/@VERSION@/0.7.2/ < src\libsodium\include\sodium\version.h.in > tmp +cscript msvc-scripts/rep.vbs //Nologo s/@VERSION@/1.0.0/ < src\libsodium\include\sodium\version.h.in > tmp cscript msvc-scripts/rep.vbs //Nologo s/@SODIUM_LIBRARY_VERSION_MAJOR@/7/ < tmp > tmp2 cscript msvc-scripts/rep.vbs //Nologo s/@SODIUM_LIBRARY_VERSION_MINOR@/2/ < tmp2 > src\libsodium\include\sodium\version.h del tmp tmp2