From: Karl Williamson Date: Fri, 20 Oct 2017 16:03:45 +0000 (-0600) Subject: Add probe for mbrlen() X-Git-Tag: 5.27.11~43^2~1^2 X-Git-Url: https://perl5.git.perl.org/metaconfig.git/commitdiff_plain/fff5dd92b9f00b06e966e4cada68b6e4c43c0f74 Add probe for mbrlen() --- diff --git a/U/threads/d_mbrlen.U b/U/threads/d_mbrlen.U new file mode 100644 index 0000000..79b61fa --- /dev/null +++ b/U/threads/d_mbrlen.U @@ -0,0 +1,26 @@ +?RCS: Copyright (c) 2017, Karl Williamson +?RCS: +?RCS: You may redistribute only under the terms of the Artistic License, +?RCS: as specified in the README file that comes with the distribution. +?RCS: You may reuse parts of this distribution only within the terms of +?RCS: that same Artistic License; a copy of which may be found at the root +?RCS: of the source tree for dist 3.0. +?RCS: +?MAKE:d_mbrlen: Inlibc +?MAKE: -pick add $@ %< +?S:d_mbrlen: +?S: This variable conditionally defines the HAS_MBRLEN symbol if the +?S: mbrlen() routine is available to be used to get the length of +?S: multi-byte character strings. +?S:. +?C:HAS_MBRLEN: +?C: This symbol, if defined, indicates that the mbrlen routine is +?C: available to get the length of multi-byte character strings. +?C:. +?H:#$d_mbrlen HAS_MBRLEN /**/ +?H:. +?LINT: set d_mbrlen +: see if mbrlen exists +set mbrlen d_mbrlen +eval $inlibc +