Skip to content

Commit 6d32861

Browse files
committed
[benchmark] Fix module-inclusion bug caused by my forgetting about case-insensitive filesystems.
1 parent 94725df commit 6d32861

File tree

3 files changed

+16
-24
lines changed

3 files changed

+16
-24
lines changed

benchmark/utils/LibProc/LibProc.h

Lines changed: 0 additions & 23 deletions
This file was deleted.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
//===--- LibProcIncludeSystemHeader.h -------------------------------------===//
2+
//
3+
// This source file is part of the Swift.org open source project
4+
//
5+
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
6+
// Licensed under Apache License v2.0 with Runtime Library Exception
7+
//
8+
// See https://swift.org/LICENSE.txt for license information
9+
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
10+
//
11+
//===----------------------------------------------------------------------===//
12+
13+
// This file exists to include the following not-yet-modularized system header:
14+
15+
#include <libproc.h>

benchmark/utils/LibProc/module.modulemap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@
1111
//===----------------------------------------------------------------------===//
1212

1313
module LibProc {
14-
header "LibProc.h"
14+
header "LibProcIncludeSystemHeader.h"
1515
export *
1616
}

0 commit comments

Comments
 (0)