diff options
| author | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-09-27 21:20:56 +0000 |
|---|---|---|
| committer | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-09-27 21:20:56 +0000 |
| commit | f572827157397e493e5499f115b15d0de992480a (patch) | |
| tree | 8fb49c5ed90d01458a138d0ce582493c94e56219 /src/mod_version.c | |
| parent | 9d87b0f9235458169b513904ce4e220da4e29d73 (diff) | |
Removed old mod_version system for detecting module versions and replaced with the Module::GetVersion() function
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2521 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/mod_version.c')
| -rw-r--r-- | src/mod_version.c | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/src/mod_version.c b/src/mod_version.c deleted file mode 100644 index 98c27d259..000000000 --- a/src/mod_version.c +++ /dev/null @@ -1,42 +0,0 @@ -#include "version.h" - -#ifdef _WIN32 -# ifdef MODULE_COMPILE -# define E extern __declspec(dllexport) -# else -# define E extern __declspec(dllimport) -# endif -#else -# define E extern -#endif - -extern "C" -{ - E int getAnopeBuildVersion(); - E int getAnopeMajorVersion(); - E int getAnopeMinorVersion(); - E int getAnopePatchVersion(); - - int getAnopeBuildVersion() - { -#if 0 - return VERSION_BUILD; -#endif - return 0; // XXX - } - - int getAnopeMajorVersion() - { - return VERSION_MAJOR; - } - - int getAnopeMinorVersion() - { - return VERSION_MINOR; - } - - int getAnopePatchVersion() - { - return VERSION_PATCH; - } -} |
