From 056e2ce88c080cf00dc3b5b14f49445c53d87160 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 5 Jan 2016 15:20:26 +0100 Subject: m + libred.h.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/libred.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src') diff --git a/src/libred.h b/src/libred.h index 9a2f7ba..5258de7 100644 --- a/src/libred.h +++ b/src/libred.h @@ -125,9 +125,15 @@ int libred_check_timetravel(void); /** * The file descriptor to the colour lookup table. + * -1 if none is open. */ extern int libred_fd; +/** + * Iff this macro is define `libred_fd` is available. + */ +#define LIBRED_HAVE_FD 1 + /** * This function must be called, once, -- cgit v1.2.3-70-g09d2