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:
parent
4d6b69a499
commit
885fe52a67
|
@ -252,6 +252,7 @@ int RemoteCamera::GetResponse()
|
||||||
//int subcontent_length = 0;
|
//int subcontent_length = 0;
|
||||||
//const char *subcontent_type = "";
|
//const char *subcontent_type = "";
|
||||||
|
|
||||||
|
#if HAVE_LIBPCRE
|
||||||
while ( true )
|
while ( true )
|
||||||
{
|
{
|
||||||
switch( state )
|
switch( state )
|
||||||
|
@ -439,6 +440,9 @@ int RemoteCamera::GetResponse()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return( 0 );
|
return( 0 );
|
||||||
|
#else
|
||||||
|
Fatal(( "You must have libpcre.a installed to use remote cameras" ));
|
||||||
|
#endif // HAVE_LIBPCRE
|
||||||
}
|
}
|
||||||
|
|
||||||
int RemoteCamera::PreCapture()
|
int RemoteCamera::PreCapture()
|
||||||
|
|
Loading…
Reference in New Issue