diff options
author | Berke Viktor <berkeviktor@aol.com> | 2011-12-11 18:04:35 +0100 |
---|---|---|
committer | Berke Viktor <berkeviktor@aol.com> | 2011-12-11 18:04:35 +0100 |
commit | 13ee029364b37eca95c43641420e75c872b32653 (patch) | |
tree | ef13e150cc5d2e15d4c879af644d9ba242c9c182 /src/common/plugin.c | |
parent | 132ef6cb50201cb6ab8ab0609a88ccce62aa6a21 (diff) |
some more multiplatform support
Diffstat (limited to 'src/common/plugin.c')
-rw-r--r-- | src/common/plugin.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/plugin.c b/src/common/plugin.c index ccb64e93..5ed20b87 100644 --- a/src/common/plugin.c +++ b/src/common/plugin.c @@ -1008,7 +1008,11 @@ xchat_get_info (xchat_plugin *ph, const char *id) return XCHATLIBDIR; case 0x14f51cd8: /* version */ +#ifdef WIN32 return XCHAT_RELEASE; +#else + return PACKAGE_VERSION; +#endif case 0xdd9b1abd: /* xchatdir */ return get_xdir_utf8 (); |