Add one more definition for symbols in prctl unit test.
authorKevin Athey <kda@google.com>
Fri, 8 Apr 2022 16:44:27 +0000 (09:44 -0700)
committerKevin Athey <kda@google.com>
Fri, 8 Apr 2022 16:46:15 +0000 (09:46 -0700)
one more follow up to: https://reviews.llvm.org/D122851

Differential Revision: https://reviews.llvm.org/D123404

compiler-rt/test/sanitizer_common/TestCases/Linux/prctl.cpp

index 9b4000a..7c0739c 100644 (file)
 #  define PR_SCHED_CORE_CREATE 1
 #endif
 
+#ifndef PR_SCHED_CORE_GET
+#  define PR_SCHED_CORE_GET 0
+#endif
+
 int main() {
 
   int res;