⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 free.m4

📁 Net-CDP-0.09 cdp相关源包
💻 M4
字号:
# Check whether free (NULL) is supposed to work.# Copyright (C) 2003, 2004 Free Software Foundation, Inc.# This file is free software; the Free Software Foundation# gives unlimited permission to copy and/or distribute it,# with or without modifications, as long as this notice is preserved.# Written by Paul Eggert.# We can't test for free (NULL) even at runtime, since it might# happen to "work" for our test program, but not in general.  So, be# conservative and use feature tests for relatively modern hosts,# where free (NULL) is known to work.  This costs a bit of# performance on some older hosts, but we can fix that later if# needed.AC_DEFUN([gl_FUNC_FREE],[  AC_CHECK_HEADERS_ONCE(unistd.h)  AC_CACHE_CHECK([whether free (NULL) is known to work],    [gl_cv_func_free],    [AC_COMPILE_IFELSE(       [AC_LANG_PROGRAM(	  [[@%:@if HAVE_UNISTD_H	      @%:@include <unistd.h>	    @%:@endif]],	  [[@%:@if _POSIX_VERSION < 199009L && \	        (defined unix || defined _unix || defined _unix_ \	         || defined __unix || defined __unix__)	      @%:@error "'free (NULL)' is not known to work"	    @%:@endif]])],       [gl_cv_func_free=yes],       [gl_cv_func_free=no])])  if test $gl_cv_func_free = no; then    AC_LIBOBJ(free)    AC_DEFINE(free, rpl_free,      [Define to rpl_free if the replacement function should be used.])  fi])# Prerequisites of lib/free.c.AC_DEFUN([gl_PREREQ_FREE], [:])

⌨️ 快捷键说明

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