diff options
author | Alp Toker <alp@nuanti.com> | 2014-05-15 02:22:34 +0000 |
---|---|---|
committer | Alp Toker <alp@nuanti.com> | 2014-05-15 02:22:34 +0000 |
commit | ef90fb885deabc54ccc7fee7b72e4d6ea9321542 (patch) | |
tree | ac3588a58431f568370068aa0143744ed6e9a206 /SDKs | |
parent | 6ff852fe1b49518b4f6419792c9381b43d3e1f7c (diff) |
Fix typos
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@208841 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'SDKs')
-rw-r--r-- | SDKs/darwin/usr/include/stdio.h | 6 | ||||
-rw-r--r-- | SDKs/darwin/usr/include/string.h | 6 | ||||
-rw-r--r-- | SDKs/darwin/usr/include/sys/fcntl.h | 8 |
3 files changed, 10 insertions, 10 deletions
diff --git a/SDKs/darwin/usr/include/stdio.h b/SDKs/darwin/usr/include/stdio.h index ab5f1a3b2..629b45015 100644 --- a/SDKs/darwin/usr/include/stdio.h +++ b/SDKs/darwin/usr/include/stdio.h @@ -39,7 +39,7 @@ typedef __SIZE_TYPE__ size_t; # define __FOPEN_NAME "_fopen" # define __FWRITE_NAME "_fwrite" # else -# error "unrecognized architecture for targetting OS X" +# error "unrecognized architecture for targeting OS X" # endif #elif defined(__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__) # if defined(__i386) || defined (__x86_64) @@ -51,10 +51,10 @@ typedef __SIZE_TYPE__ size_t; # define __FOPEN_NAME "_fopen" # define __FWRITE_NAME "_fwrite" # else -# error "unrecognized architecture for targetting iOS" +# error "unrecognized architecture for targeting iOS" # endif #else -# error "unrecognized architecture for targetting Darwin" +# error "unrecognized architecture for targeting Darwin" #endif # define stderr __stderrp diff --git a/SDKs/darwin/usr/include/string.h b/SDKs/darwin/usr/include/string.h index c6ab5d8e5..1a00574cf 100644 --- a/SDKs/darwin/usr/include/string.h +++ b/SDKs/darwin/usr/include/string.h @@ -35,16 +35,16 @@ char *strncpy(char *, const char *, size_t); # elif defined(__x86_64__) || defined(__arm) # define __STRERROR_NAME "_strerror" # else -# error "unrecognized architecture for targetting OS X" +# error "unrecognized architecture for targeting OS X" # endif #elif defined(__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__) # if defined(__i386) || defined (__x86_64) || defined(__arm) # define __STRERROR_NAME "_strerror" # else -# error "unrecognized architecture for targetting iOS" +# error "unrecognized architecture for targeting iOS" # endif #else -# error "unrecognized architecture for targetting Darwin" +# error "unrecognized architecture for targeting Darwin" #endif char *strerror(int) __asm(__STRERROR_NAME); diff --git a/SDKs/darwin/usr/include/sys/fcntl.h b/SDKs/darwin/usr/include/sys/fcntl.h index b71706bf4..e121949a4 100644 --- a/SDKs/darwin/usr/include/sys/fcntl.h +++ b/SDKs/darwin/usr/include/sys/fcntl.h @@ -26,7 +26,7 @@ # elif defined(__arm) # define __OPEN_NAME "_open" # else -# error "unrecognized architecture for targetting OS X" +# error "unrecognized architecture for targeting OS X" # endif #elif defined(__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__) # if defined(__i386) || defined (__x86_64) @@ -34,10 +34,10 @@ # elif defined(__arm) # define __OPEN_NAME "_open" # else -# error "unrecognized architecture for targetting iOS" +# error "unrecognized architecture for targeting iOS" # endif #else -# error "unrecognized architecture for targetting Darwin" +# error "unrecognized architecture for targeting Darwin" #endif #define O_RDONLY 0x0000 /* open for reading only */ @@ -45,7 +45,7 @@ #define O_RDWR 0x0002 /* open for reading and writing */ #define O_ACCMODE 0x0003 /* mask for above modes */ -#define O_CREAT 0x0200 /* create if nonexistant */ +#define O_CREAT 0x0200 /* create if nonexistent */ int open(const char *, int, ...) __asm(__OPEN_NAME); |