(perl #132876) only define croak_xs_usage()'s assert macro if cxu requested
authorTony Cook <tony@develop-help.com>
Wed, 21 Feb 2018 00:24:00 +0000 (11:24 +1100)
committerTony Cook <tony@develop-help.com>
Mon, 2 Apr 2018 05:20:36 +0000 (15:20 +1000)
commit368e5f5eb1d12d4391b0c5dfc8ebd00ee6a457a3
tree651289db411b04c16d58f30604faee5ddbf7ed17
parentbcdb10f52b7a5b5ba1252af82319ddfa72ee2973
(perl #132876) only define croak_xs_usage()'s assert macro if cxu requested

This avoids an interaction with the code ExtUtils::ParseXS generates to
define a fallback croak_xs_usage().

That code checks whether the assert macro is defined rather than checking
if croak_xs_usage() is defined, and since ppport.h was always defining
the assert macro, the EU::PXS code would fail to define its own
croak_xs_usage() fallback.
dist/Devel-PPPort/parts/inc/mess