Added conditional code for when no libpcre installed.

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@959 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
stan 2004-03-15 09:43:51 +00:00
parent 4d6b69a499
commit 885fe52a67
1 changed files with 4 additions and 0 deletions

View File

@ -252,6 +252,7 @@ int RemoteCamera::GetResponse()
//int subcontent_length = 0;
//const char *subcontent_type = "";
#if HAVE_LIBPCRE
while ( true )
{
switch( state )
@ -439,6 +440,9 @@ int RemoteCamera::GetResponse()
}
}
return( 0 );
#else
Fatal(( "You must have libpcre.a installed to use remote cameras" ));
#endif // HAVE_LIBPCRE
}
int RemoteCamera::PreCapture()