Skip to content

Commit 52f0aa8

Browse files
author
Daniel Kroening
committed
make library_check work again
1 parent 2ca7137 commit 52f0aa8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/ansi-c/library/pthread_lib.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -344,6 +344,7 @@ inline int pthread_join(pthread_t thread, void **value_ptr)
344344
#define __CPROVER_ERRNO_H_INCLUDED
345345
#endif
346346

347+
#ifdef __APPLE_
347348
extern __CPROVER_bool __CPROVER_threads_exited[];
348349
extern __CPROVER_thread_local unsigned long __CPROVER_thread_id;
349350
extern unsigned long __CPROVER_next_thread_id;
@@ -364,6 +365,7 @@ inline int pthread_join(pthread_t thread, void **value_ptr)
364365

365366
return 0;
366367
}
368+
#endif
367369

368370
/* FUNCTION: pthread_rwlock_destroy */
369371

0 commit comments

Comments
 (0)