Commits

Vijay Mahadevan committed 3b0d11e

Minor fixes for clean compilation of DMMoab implementation

  • Participants
  • Parent commits cee7e14

Comments (0)

Files changed (2)

src/dm/impls/moab/dmmoab.cxx

   PetscFunctionReturn(0);
 }
 
-
+EXTERN_C_BEGIN
 #undef __FUNCT__
 #define __FUNCT__ "DMCreate_Moab"
 PETSC_EXTERN PetscErrorCode DMCreate_Moab(DM dm)
   dm->ops->localtoglobalend         = DMLocalToGlobalEnd_Moab;
   PetscFunctionReturn(0);
 }
+EXTERN_C_END
 

src/dm/impls/moab/makefile

 #requirespackage  'PETSC_HAVE_MOAB'
-#requireslanguage 'CXXONLY'
-#requiresprecision double
-#requiresscalar    real
 
 ALL: lib