From 2e1ca3c7515f5784a08f9143856d844988281ed2 Mon Sep 17 00:00:00 2001 From: winlin Date: Mon, 25 May 2015 08:17:11 +0800 Subject: [PATCH] fix the build failed bug. --- trunk/src/app/srs_app_server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trunk/src/app/srs_app_server.cpp b/trunk/src/app/srs_app_server.cpp index cdea9cd59..49eef6f64 100644 --- a/trunk/src/app/srs_app_server.cpp +++ b/trunk/src/app/srs_app_server.cpp @@ -787,7 +787,7 @@ int SrsServer::http_handle() } #endif -#ifdef SRS_AUTO_HTTP_SERVER +#if defined(SRS_AUTO_HTTP_SERVER) && defined(SRS_AUTO_HTTP_API) // for SRS go-sharp to detect the status of HTTP server of SRS HTTP FLV Cluster. if ((ret = http_stream_mux->mux.handle("/api/v1/versions", new SrsGoApiVersion())) != ERROR_SUCCESS) { return ret;