]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/config/test/boost_has_nl_types_h.ipp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / libs / config / test / boost_has_nl_types_h.ipp
1 // (C) Copyright John Maddock 2001.
2 // Use, modification and distribution are subject to the
3 // Boost Software License, Version 1.0. (See accompanying file
4 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5
6 // See http://www.boost.org/libs/config for most recent version.
7
8 // MACRO: BOOST_HAS_NL_TYPES_H
9 // TITLE: <nl_types.h>
10 // DESCRIPTION: The platform has an <nl_types.h>.
11
12 #include <nl_types.h>
13
14
15 namespace boost_has_nl_types_h{
16
17 int test()
18 {
19 nl_catd cat = catopen("foo", 0);
20 if(cat != (nl_catd)-1) catclose(cat);
21 return 0;
22 }
23
24 }
25
26
27
28
29