Skip to content

Commit 10b9e94

Browse files
committed
don't add os/base.h
1 parent bc04960 commit 10b9e94

File tree

5 files changed

+7
-12
lines changed

5 files changed

+7
-12
lines changed

os/Makefile.am

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ osdir=$(includedir)/os
66

77
os_HEADERS= \
88
object.h \
9-
base.h \
109
linux_base.h
1110

1211
noinst_HEADERS= \

os/base.h

Lines changed: 0 additions & 10 deletions
This file was deleted.

os/object.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,11 @@
2424
#ifdef __APPLE__
2525
#include <Availability.h>
2626
#endif
27+
#ifndef __linux__
2728
#include <os/base.h>
29+
#else
30+
#include <os/linux_base.h>
31+
#endif
2832

2933
/*!
3034
* @header

private/voucher_private.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@
2121
#ifndef __OS_VOUCHER_PRIVATE__
2222
#define __OS_VOUCHER_PRIVATE__
2323

24+
#ifndef __linux__
2425
#include <os/base.h>
26+
#endif
2527
#include <os/object.h>
2628

2729
#define OS_VOUCHER_SPI_VERSION 20141203

src/shims/linux_stubs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
#define program_invocation_short_name "hi"
3333

34-
#include "os/base.h"
34+
#include "os/linux_base.h"
3535
#include "internal.h"
3636

3737

0 commit comments

Comments
 (0)