mirror of
https://github.com/cookiengineer/audacity
synced 2026-03-06 14:35:32 +01:00
Make it easier to enforce the requirement that module version string exactly matches Audacity version string, by directly including Audacity.h and using AUDACITY_VERSION_STRING.
This commit is contained in:
@@ -37,18 +37,3 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// This should be set to the version of Audacity that this version of
|
||||
// mod-scipt-pipe is designed to work with. For now, the versions must match
|
||||
// exactly for Audacity to agree to load the module.
|
||||
#define SCRIPT_PIPE_VERSION 1
|
||||
#define SCRIPT_PIPE_RELEASE 3
|
||||
#define SCRIPT_PIPE_REVISION 10
|
||||
#define SCRIPT_PIPE_SUFFIX wxT("-alpha-") __TDATE__
|
||||
|
||||
#define SCRIPT_PIPE_MAKESTR( x ) #x
|
||||
#define SCRIPT_PIPE_QUOTE( x ) SCRIPT_PIPE_MAKESTR( x )
|
||||
|
||||
#define SCRIPT_PIPE_VERSION_STRING wxT( SCRIPT_PIPE_QUOTE( SCRIPT_PIPE_VERSION ) ) wxT(".") \
|
||||
wxT( SCRIPT_PIPE_QUOTE( SCRIPT_PIPE_RELEASE ) ) wxT(".") \
|
||||
wxT( SCRIPT_PIPE_QUOTE( SCRIPT_PIPE_REVISION ) ) \
|
||||
SCRIPT_PIPE_SUFFIX
|
||||
|
||||
Reference in New Issue
Block a user