mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-29 00:34:33 +02:00
- (dtucker) [configure.ac defines.h] Add typedefs for intmax_t and uintmax_t
for platforms that don't have them.
This commit is contained in:
parent
710f374735
commit
007e3b357e
@ -4,6 +4,8 @@
|
|||||||
a no-op in OpenSSH). From chl at openbsd.
|
a no-op in OpenSSH). From chl at openbsd.
|
||||||
- (dtucker) [openbsd-compat/setproctitle.c] Handle error case form the 2nd
|
- (dtucker) [openbsd-compat/setproctitle.c] Handle error case form the 2nd
|
||||||
vsnprintf. From eric at openbsd via chl@.
|
vsnprintf. From eric at openbsd via chl@.
|
||||||
|
- (dtucker) [configure.ac defines.h] Add typedefs for intmax_t and uintmax_t
|
||||||
|
for platforms that don't have them.
|
||||||
|
|
||||||
20131030
|
20131030
|
||||||
- (djm) OpenBSD CVS Sync
|
- (djm) OpenBSD CVS Sync
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# $Id: configure.ac,v 1.536 2013/08/04 11:48:41 dtucker Exp $
|
# $Id: configure.ac,v 1.537 2013/11/03 07:43:55 dtucker Exp $
|
||||||
#
|
#
|
||||||
# Copyright (c) 1999-2004 Damien Miller
|
# Copyright (c) 1999-2004 Damien Miller
|
||||||
#
|
#
|
||||||
@ -15,7 +15,7 @@
|
|||||||
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
|
|
||||||
AC_INIT([OpenSSH], [Portable], [openssh-unix-dev@mindrot.org])
|
AC_INIT([OpenSSH], [Portable], [openssh-unix-dev@mindrot.org])
|
||||||
AC_REVISION($Revision: 1.536 $)
|
AC_REVISION($Revision: 1.537 $)
|
||||||
AC_CONFIG_SRCDIR([ssh.c])
|
AC_CONFIG_SRCDIR([ssh.c])
|
||||||
AC_LANG([C])
|
AC_LANG([C])
|
||||||
|
|
||||||
@ -3137,6 +3137,11 @@ if test "x$ac_cv_have_u_char" = "xyes" ; then
|
|||||||
AC_DEFINE([HAVE_U_CHAR], [1], [define if you have u_char data type])
|
AC_DEFINE([HAVE_U_CHAR], [1], [define if you have u_char data type])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
AC_CHECK_TYPES([intmax_t, uintmax_t], , , [
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <stdint.h>
|
||||||
|
])
|
||||||
|
|
||||||
TYPE_SOCKLEN_T
|
TYPE_SOCKLEN_T
|
||||||
|
|
||||||
AC_CHECK_TYPES([sig_atomic_t], , , [#include <signal.h>])
|
AC_CHECK_TYPES([sig_atomic_t], , , [#include <signal.h>])
|
||||||
|
10
defines.h
10
defines.h
@ -25,7 +25,7 @@
|
|||||||
#ifndef _DEFINES_H
|
#ifndef _DEFINES_H
|
||||||
#define _DEFINES_H
|
#define _DEFINES_H
|
||||||
|
|
||||||
/* $Id: defines.h,v 1.172 2013/06/01 21:18:48 dtucker Exp $ */
|
/* $Id: defines.h,v 1.173 2013/11/03 07:43:55 dtucker Exp $ */
|
||||||
|
|
||||||
|
|
||||||
/* Constants */
|
/* Constants */
|
||||||
@ -269,6 +269,14 @@ typedef unsigned long long int u_int64_t;
|
|||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef HAVE_INTMAX_T
|
||||||
|
typedef long long intmax_t;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef HAVE_UINTMAX_T
|
||||||
|
typedef unsigned long long uintmax_t;
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef HAVE_U_CHAR
|
#ifndef HAVE_U_CHAR
|
||||||
typedef unsigned char u_char;
|
typedef unsigned char u_char;
|
||||||
# define HAVE_U_CHAR
|
# define HAVE_U_CHAR
|
||||||
|
Loading…
x
Reference in New Issue
Block a user