]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/fortran/cpp.c
Merge current set of OpenACC changes from gomp-4_0-branch.
[thirdparty/gcc.git] / gcc / fortran / cpp.c
index b30f90e05c50b961aff6aada840b318565ba94be..e239f21b5657d4d137459a62020d13cc2cdac792 100644 (file)
@@ -179,6 +179,9 @@ cpp_define_builtins (cpp_reader *pfile)
   cpp_define (pfile, "__GFORTRAN__=1");
   cpp_define (pfile, "_LANGUAGE_FORTRAN=1");
 
+  if (flag_openacc)
+    cpp_define (pfile, "_OPENACC=201306");
+
   if (flag_openmp)
     cpp_define (pfile, "_OPENMP=201307");