Commit f58022e2 authored by Alois Schloegl's avatar Alois Schloegl
Browse files

[FIX] added compatibility with newer BioSig versions.

parent d5d23261
...@@ -76,7 +76,11 @@ boost::shared_ptr< WDataSet > WReaderBiosig::load() ...@@ -76,7 +76,11 @@ boost::shared_ptr< WDataSet > WReaderBiosig::load()
hd = sopen( m_fname.c_str(), "r", 0 ); hd = sopen( m_fname.c_str(), "r", 0 );
#if (BIOSIG_VERSION >= 10400)
switch( serror2( hd ) )
#else
switch( B4C_ERRNUM ) switch( B4C_ERRNUM )
#endif
{ {
case B4C_NO_ERROR: case B4C_NO_ERROR:
break; break;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment