realloc.m4

来自「gnu tar 源码包。 tar 软件是 Unix 系统下的一个打包软件」· M4 代码 · 共 24 行

M4
24
字号
# realloc.m4 serial 8dnl Copyright (C) 2007 Free Software Foundation, Inc.dnl This file is free software; the Free Software Foundationdnl gives unlimited permission to copy and/or distribute it,dnl with or without modifications, as long as this notice is preserved.# gl_FUNC_REALLOC_POSIX# ---------------------# Test whether 'realloc' is POSIX compliant (sets errno to ENOMEM when it# fails), and replace realloc if it is not.AC_DEFUN([gl_FUNC_REALLOC_POSIX],[  AC_REQUIRE([gl_CHECK_MALLOC_POSIX])  if test $gl_cv_func_malloc_posix = yes; then    HAVE_REALLOC_POSIX=1    AC_DEFINE([HAVE_REALLOC_POSIX], 1,      [Define if the 'realloc' function is POSIX compliant.])  else    AC_LIBOBJ([realloc])    HAVE_REALLOC_POSIX=0  fi  AC_SUBST([HAVE_REALLOC_POSIX])])

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?