Merge pull request #439 from hpux735/master

Beginning support for ARMv7 hosts (RasPi, etc.)
This commit is contained in:
Dmitri Gribenko
2015-12-13 00:10:20 -08:00
7 changed files with 133 additions and 40 deletions

View File

@@ -28,7 +28,11 @@ namespace swift { extern "C" {
// This declaration is not universally correct. We verify its correctness for
// the current platform in the runtime code.
#if defined(__linux__) && defined (__arm__)
typedef int __swift_ssize_t;
#else
typedef long int __swift_ssize_t;
#endif
// General utilities <stdlib.h>
// Memory management functions