File tree Expand file tree Collapse file tree 4 files changed +40
-1
lines changed Expand file tree Collapse file tree 4 files changed +40
-1
lines changed Original file line number Diff line number Diff line change 33# voucher_private.h are included in the source tarball
44
55install (FILES
6- object .h
6+ generic_base .h
77 generic_unix_base.h
88 generic_win_base.h
9+ object.h
910 DESTINATION
1011 "${INSTALL_OS_HEADERS_DIR} " )
1112
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright (c) 2011-2014 Apple Inc. All rights reserved.
3+ *
4+ * @APPLE_APACHE_LICENSE_HEADER_START@
5+ *
6+ * Licensed under the Apache License, Version 2.0 (the "License");
7+ * you may not use this file except in compliance with the License.
8+ * You may obtain a copy of the License at
9+ *
10+ * http://www.apache.org/licenses/LICENSE-2.0
11+ *
12+ * Unless required by applicable law or agreed to in writing, software
13+ * distributed under the License is distributed on an "AS IS" BASIS,
14+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+ * See the License for the specific language governing permissions and
16+ * limitations under the License.
17+ *
18+ * @APPLE_APACHE_LICENSE_HEADER_END@
19+ */
20+
21+ #ifndef __OS_GENERIC_BASE__
22+ #define __OS_GENERIC_BASE__
23+
24+ #if !defined(__BEGIN_DECLS ) && !defined(__END_DECLS )
25+ #if defined(__cplusplus )
26+ #define __BEGIN_DECLS extern "C" {
27+ #define __END_DECLS }
28+ #else
29+ #define __BEGIN_DECLS
30+ #define __END_DECLS
31+ #endif
32+ #endif
33+
34+ #endif /* __OS_GENERIC_BASE__ */
Original file line number Diff line number Diff line change 1313#ifndef __OS_GENERIC_UNIX_BASE__
1414#define __OS_GENERIC_UNIX_BASE__
1515
16+ #include <os/generic_base.h>
17+
1618#if __has_include (< sys /sysmacros .h > )
1719#include <sys/sysmacros.h>
1820#endif
Original file line number Diff line number Diff line change 1313#ifndef __OS_GENERIC_WIN_BASE__
1414#define __OS_GENERIC_WIN_BASE__
1515
16+ #include <os/generic_base.h>
17+
1618// Unices provide `roundup` via sys/param.h
1719#define roundup (x , y ) ((((x) + ((y) - 1)) / (y)) * (y))
1820// Unices provide `MAX` via sys/param.h
You can’t perform that action at this time.
0 commit comments