HOME
| OPENMP API Specification: "Version 5.2 -- GIT rev 95b2e3a44"

3.3  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.

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