Skip to content

Commit

Permalink
move the version string into a define
Browse files Browse the repository at this point in the history
  • Loading branch information
AWehrhahn committed Apr 8, 2021
1 parent f82936b commit c5dc2ba
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/sme/sme_synth_faster.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
#define SME_DLL
#endif

// The SME library version (and compilation date)
#define VERSION "6.03, July 2019"

/* Datafile locations */
// DATA_DIR is defined in platform.h

Expand Down Expand Up @@ -335,7 +338,7 @@ int compress(char *target, char *source)

extern "C" char const *SME_DLL SMELibraryVersion(int n, void *arg[]) /* Return SME library version */
{
sprintf(result, "SME Library version: 6.03, July 2019, %s", PLATFORM);
sprintf(result, "SME Library version: %s, %s", VERSION, PLATFORM);
return result;
}

Expand Down

0 comments on commit c5dc2ba

Please sign in to comment.