File configure.ac changed (mode: 100644) (index 69aab8b..5c0ed13) |
... |
... |
AC_PROG_MAKE_SET |
23 |
23 |
AX_WITH_CURSES |
AX_WITH_CURSES |
24 |
24 |
PKG_CHECK_MODULES([glib], [glib-2.0 >= 2.0],, [AC_MSG_ERROR([glib 2.0 or newer is required])]) |
PKG_CHECK_MODULES([glib], [glib-2.0 >= 2.0],, [AC_MSG_ERROR([glib 2.0 or newer is required])]) |
25 |
25 |
PKG_CHECK_MODULES([libzmq], [libzmq >= 3.0],, [AC_MSG_ERROR([ZeroMQ 3.x or newer is required])]) |
PKG_CHECK_MODULES([libzmq], [libzmq >= 3.0],, [AC_MSG_ERROR([ZeroMQ 3.x or newer is required])]) |
26 |
|
PKG_CHECK_MODULES([libmpdclient], [libmpdclient >= 2.11],, [AC_MSG_ERROR([libmpdclient 2.11 or newer is required])]) |
|
|
26 |
|
PKG_CHECK_MODULES([libmpdclient], [libmpdclient >= 2.5],, [AC_MSG_ERROR([libmpdclient 2.5 or newer is required])]) |
27 |
27 |
|
|
28 |
28 |
# Checks for header files. |
# Checks for header files. |
29 |
29 |
AC_CHECK_HEADERS([arpa/inet.h fcntl.h libintl.h limits.h locale.h netdb.h netinet/in.h stdlib.h string.h sys/param.h sys/socket.h sys/time.h unistd.h]) |
AC_CHECK_HEADERS([arpa/inet.h fcntl.h libintl.h limits.h locale.h netdb.h netinet/in.h stdlib.h string.h sys/param.h sys/socket.h sys/time.h unistd.h]) |
File src/command.cpp changed (mode: 100644) (index 04dc498..4596280) |
... |
... |
Mpd_status::assign_status(struct mpd_status * status) |
101 |
101 |
db_updating = mpd_status_get_update_id(status); |
db_updating = mpd_status_get_update_id(status); |
102 |
102 |
|
|
103 |
103 |
/* Time elapsed */ |
/* Time elapsed */ |
104 |
|
#if LIBMPDCLIENT_CHECK_VERSION(2, 10, 0) |
|
|
104 |
|
#if LIBMPDCLIENT_CHECK_VERSION(2, 1, 0) |
105 |
105 |
ms = mpd_status_get_elapsed_ms(status); |
ms = mpd_status_get_elapsed_ms(status); |
106 |
106 |
#else |
#else |
107 |
107 |
ms = mpd_status_get_elapsed(status) * 1000; |
ms = mpd_status_get_elapsed(status) * 1000; |