Commit b30956d4 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

examples: Don't build a 3.0 feature sample when using 2.2

parent 9fb8e14b
......@@ -10,6 +10,7 @@ struct ImemOpaque
std::string path;
};
#if LIBVLC_VERSION_INT >= LIBVLC_VERSION(3, 0, 0, 0)
int main(int ac, char**av)
{
if (ac < 3)
......@@ -84,3 +85,6 @@ int main(int ac, char**av)
fclose(opaque2->file);
delete opaque2;
}
#else
int main(){}
#endif
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