havelib: Fix for Solaris 11 OpenIndiana and Solaris 11 OmniOS.
[gnulib.git] / m4 / posixcheck.m4
blob2ee1b258c03929e56150eabcd39d542e0ac71ab5
1 # posixcheck.m4 serial 1
2 dnl Copyright (C) 2018-2020 Free Software Foundation, Inc.
3 dnl This file is free software; the Free Software Foundation
4 dnl gives unlimited permission to copy and/or distribute it,
5 dnl with or without modifications, as long as this notice is preserved.
7 AC_DEFUN([gl_POSIXCHECK],
9   AH_VERBATIM([POSIXCHECK],
10     [/* Define to enable warnings for determining which Gnulib modules to use, for
11    portability of POSIX functions.  This does not work well in C++ mode.  */
12 #ifndef __cplusplus
13 # define GNULIB_POSIXCHECK 1
14 #endif