winlin

fix the build failed bug.

@@ -787,7 +787,7 @@ int SrsServer::http_handle() @@ -787,7 +787,7 @@ int SrsServer::http_handle()
787 } 787 }
788 #endif 788 #endif
789 789
790 -#ifdef SRS_AUTO_HTTP_SERVER 790 +#if defined(SRS_AUTO_HTTP_SERVER) && defined(SRS_AUTO_HTTP_API)
791 // for SRS go-sharp to detect the status of HTTP server of SRS HTTP FLV Cluster. 791 // for SRS go-sharp to detect the status of HTTP server of SRS HTTP FLV Cluster.
792 if ((ret = http_stream_mux->mux.handle("/api/v1/versions", new SrsGoApiVersion())) != ERROR_SUCCESS) { 792 if ((ret = http_stream_mux->mux.handle("/api/v1/versions", new SrsGoApiVersion())) != ERROR_SUCCESS) {
793 return ret; 793 return ret;