[petsc-dev] __SDIR__ as string or not

Jed Brown jed at 59A2.org
Tue Mar 2 18:16:57 CST 2010


On Tue, 2 Mar 2010 21:04:07 -0300, Lisandro Dalcin <dalcinl at gmail.com> wrote:
> This is the proper way (at least it works for me)
> 
> #define PetscStringizeArg(a) #a
> #define PetscStringize(a) PetscStringizeArg(a)
> #define __SDIR__ PetscStringize(__INSDIR__)

Yes, of course.  Thanks.

Jed



More information about the petsc-dev mailing list