diff options
author | Kalle Wallin <kaw@linux.se> | 2004-06-15 13:17:22 +0000 |
---|---|---|
committer | Kalle Wallin <kaw@linux.se> | 2004-06-15 13:17:22 +0000 |
commit | ddd7adff6d0e02c31b371559cd822f3b5feba345 (patch) | |
tree | f7c0703e7ee740ce2454cdff6f0249c8d862decd /src/mpdclient.h | |
parent | a8baf3be0cbdb33d48df4e704ca2f1cb0b77f93b (diff) | |
download | mpd-ddd7adff6d0e02c31b371559cd822f3b5feba345.tar.gz mpd-ddd7adff6d0e02c31b371559cd822f3b5feba345.tar.xz mpd-ddd7adff6d0e02c31b371559cd822f3b5feba345.zip |
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1497 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r-- | src/mpdclient.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mpdclient.h b/src/mpdclient.h index 391a5d224..50b8e9a92 100644 --- a/src/mpdclient.h +++ b/src/mpdclient.h @@ -2,6 +2,9 @@ #define MPDCLIENT_H #include "libmpdclient.h" +#define MPD_VERSION(c,x,y,z) (c->connection->version[0]*10000+c->connection->version[1]*100+c->connection->version[2] >= \ + x*10000+y*100+z) + /****************************************************************************/ /* Playlist */ /****************************************************************************/ |