summaryrefslogtreecommitdiff
path: root/libc/lib
diff options
context:
space:
mode:
authorSiva Chandra Reddy <sivachandra@google.com>2019-12-05 12:09:24 -0800
committerSiva Chandra Reddy <sivachandra@google.com>2019-12-09 13:34:08 -0800
commit453c85ff0f96048ea31037fed905ef6a06ac3fcc (patch)
treeb68302cd170298c457658a451005540a4c82cc4d /libc/lib
parentaf52d5a04cb3c488af06c50806d15f1ee9252cc7 (diff)
downloadllvm-453c85ff0f96048ea31037fed905ef6a06ac3fcc.tar.gz
[libc] Add implementation of errno and define the other macros of errno.h.
Reviewers: stanshebs, alexbrachet Subscribers: mgorny, MaskRay, tschuett, libc-commits Tags: #libc-project Differential Revision: https://reviews.llvm.org/D71094
Diffstat (limited to 'libc/lib')
-rw-r--r--libc/lib/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/libc/lib/CMakeLists.txt b/libc/lib/CMakeLists.txt
index 121cd1fbb77b..dd1975ba8548 100644
--- a/libc/lib/CMakeLists.txt
+++ b/libc/lib/CMakeLists.txt
@@ -2,8 +2,10 @@
add_entrypoint_library(
llvmlibc
DEPENDS
+ # errno.h entrypoints
+ __errno_location
+
# string.h entrypoints
- ## C standard library entrypoints
strcpy
strcat
)