:- if(get_flag(hostarch,"i386_nt")).
...Windows-specific code...
:- elif( (get_flag(version_as_list,Version), Version @>= [6,0]) ).
...code for version 6.0 and later...
:- else.
...alternative code...
:- endif.
Note however, that only complete clauses or directives can be
conditionally included.It is not possible to have several pragmas grouped together and separated by commas, every pragma must be specified separately. Option can be one of the following::- pragma(Option).