Is it possible to check a library version and execute different code based on that version, perhaps with a preprocessor statement?
Specifically, depending on the version of libvte, I want to execute different code. Pseudocode:
Code:#if vte_version < 0.25 vte_terminal_fork(...); #else vte_terminal_fork_full(...); #endif


Reply With Quote