Files
swift-mirror/stdlib/tools/swift-reflection-test/overrides.h
Michael Gottesman 089e3a8ecd [cmake] tools/swift-reflection-test => stdlib/tools/swift-reflection-test.
If one thinks about it, swift's build has two sections: a runtime or target
section (i.e. ./stdlib) and a host section (everything
else). swift-reflection-test is an abberation from that pattern since it is
built for target platforms but is in the section of host tools.

In this commit, I move it into ./stdlib. Beyond being a bitter location
conceptually this will additionally allow me to avoid a dependency cycle in
between the compiler and the stdlib build.

After this, there is only one more target in the compiler code: swift-lang. From
talking with Xi Ge, we can move that into its own separate project as a
package. Once that is done, I will not have any more cycles.
2018-12-09 02:20:33 -08:00

10 lines
177 B
C

// These APIs marked unavailable on watchOS and tvOS.
#include <sys/types.h>
#if !defined(_WIN32)
pid_t _fork(void);
int _execv(const char *path, char * const *argv);
#endif