The main reason that I included an #error directive is to catch the case where LU_NV_BITS has not been set at all.
Also, I simply copied your probe logic, but I must ask if you are sure that that is the right way to do it. Reading a value from %Config for one test, evaluating an expression for another, and then just using a default seems strange to me. Are you sure $Config{nvsize} will not give you 10 and 16 for the 80 and 128 bit cases?
In reply to Re^6: Defining an XS symbol in the Makefile.PL
by jcb
in thread Defining an XS symbol in the Makefile.PL
by syphilis
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |