19.0.0 released Nov 08, 2023
OS conditional compilation

If you need to compile code based on which distribution of Operating System you are running, you can use predefined "VV_OSNAME_ID" constant, with the following values:
Examples
Compile guarded code if running Ubuntu 22 only:
// Compile only for Ubuntu 22
#if VV_OSNAME_ID==1
    ...
    @This is Ubuntu 22 only.
    ...
#endif

Note that generally the last 2 releases for a given distribution are available at any given moment, and the above list represents historical list of OS distributions that are (or were) available.
See also
System information
get-sys  
OS-conditional-compilation    
See all
documentation


You are free to copy, redistribute and adapt this web page (even commercially), as long as you give credit and provide a dofollow link back to this page - see full license at CC-BY-4.0. Copyright (c) 2019-2023 Dasoftver LLC. Vely and elephant logo are trademarks of Dasoftver LLC. The software and information on this web site are provided "AS IS" and without any warranties or guarantees of any kind. Icons from table-icons.io copyright PaweĊ‚ Kuna, licensed under MIT license.