aboutsummaryrefslogtreecommitdiff
path: root/contrib/libc++/include/stdint.h
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2019-08-22 19:49:51 +0000
committerDimitry Andric <dim@FreeBSD.org>2019-08-22 19:49:51 +0000
commit2f1cb2a6c9c3a63d61ea267fb9d81773616ea83b (patch)
treedfafd26b02c2aba8ba71862335377d6c0ccfb0ed /contrib/libc++/include/stdint.h
parent14a0b2859e9d76204ca897de961b36344ce1e775 (diff)
parent1147845301c03308e3419b89c28c77bb6917fe04 (diff)
Notes
Diffstat (limited to 'contrib/libc++/include/stdint.h')
-rw-r--r--contrib/libc++/include/stdint.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/contrib/libc++/include/stdint.h b/contrib/libc++/include/stdint.h
index 468f6cd97c23..d7b6902518ae 100644
--- a/contrib/libc++/include/stdint.h
+++ b/contrib/libc++/include/stdint.h
@@ -1,15 +1,19 @@
// -*- C++ -*-
//===---------------------------- stdint.h --------------------------------===//
//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
#ifndef _LIBCPP_STDINT_H
+// AIX system headers need stdint.h to be re-enterable while _STD_TYPES_T
+// is defined until an inclusion of it without _STD_TYPES_T occurs, in which
+// case the header guard macro is defined.
+#if !defined(_AIX) || !defined(_STD_TYPES_T)
#define _LIBCPP_STDINT_H
+#endif // _STD_TYPES_T
/*
stdint.h synopsis