view lib/ffsl.c @ 17325:9d7698fd5b5f

openpty: fix bug where HAVE_OPENPTY is mistakenly 1 Problem reported by Mats Erik Andersson in <http://lists.gnu.org/archive/html/bug-gnulib/2013-02/msg00051.html>. * m4/pty.m4 (gl_FUNC_OPENPTY): Define HAVE_OPENPTY when the openpty function exists, not merely when we intend to replace it. This corrects the 2013-01-31 patch, which mistakenly defined HAVE_OPENPTY even on hosts that lacked it.
author Paul Eggert <eggert@cs.ucla.edu>
date Fri, 08 Feb 2013 08:03:23 -0800
parents d0eb709725f5
children
line wrap: on
line source

#define FUNC ffsl
#define TYPE long int
#define GCC_BUILTIN __builtin_ffsl
#include "ffsl.h"