mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge pull request #439 from hpux735/master
Beginning support for ARMv7 hosts (RasPi, etc.)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user