HOME
| OPENMP API Specification: Version 5.0 November 2018

2.2  Conditional Compilation

In implementations that support a preprocessor, the _OPENMP macro name is defined to have the decimal value yyyymm where yyyy and mm are the year and month designations of the version of the OpenMP API that the implementation supports.

If a #define or a #undef preprocessing directive in user code defines or undefines the _OPENMP macro name, the behavior is unspecified.

SVG-Viewer needed.

The OpenMP API requires Fortran lines to be compiled conditionally, as described in the following sections.