Conditional usage of resultsets_count
authorDennis Schafroth <dennis@indexdata.com>
Thu, 24 Feb 2011 11:53:52 +0000 (12:53 +0100)
committerDennis Schafroth <dennis@indexdata.com>
Thu, 24 Feb 2011 11:53:52 +0000 (12:53 +0100)
src/http_command.c

index f0dc440..0bc8503 100644 (file)
@@ -612,7 +612,11 @@ static void cmd_session_status(struct http_channel *c)
 
 int sessions_count(void);
 int clients_count(void);
+#ifdef HAVE_RESULTSETS_COUNT
 int resultsets_count(void);
+#else
+#define resultsets_count()      0
+#endif
 
 static void cmd_server_status(struct http_channel *c)
 {