Commits

Lisandro Dalcin  committed 82f83d3

Update after removal of PETSC_USE_DYNAMIC_LIBRARIES in petsc-dev

  • Participants
  • Parent commits b913301

Comments (0)

Files changed (2)

File src/petiga.c

   PetscFunctionBegin;
   PetscValidPointer(_iga,2);
   *_iga = NULL;
-#ifndef PETSC_USE_DYNAMIC_LIBRARIES
   ierr = IGAInitializePackage();CHKERRQ(ierr);
-#endif
 #if PETSC_VERSION_LE(3,3,0)
   ierr = PetscHeaderCreate(iga,_p_IGA,struct _IGAOps,IGA_CLASSID,-1,
                            "IGA","IGA","IGA",comm,IGADestroy,IGAView);CHKERRQ(ierr);

File src/petigareg.c

   PetscFunctionReturn(0);
 }
 
-#ifdef PETSC_USE_DYNAMIC_LIBRARIES
+#ifdef PETSC_HAVE_DYNAMIC_LIBRARIES
 EXTERN_C_BEGIN
 #undef  __FUNCT__
 #define __FUNCT__ "PetscDLLibraryRegister_petiga"