소스 검색

Doh! missed a spot.
-Erik

Eric Andersen 24 년 전
부모
커밋
e83faee37d
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      libc/stdlib/atexit.c

+ 2 - 0
libc/stdlib/atexit.c

@@ -168,7 +168,9 @@ void __exit_handler(int status)
 #ifdef L_exit
 extern void weak_function _stdio_term(void);
 void (*__exit_cleanup) (int) = 0;
+#ifdef __UCLIBC_HAS_THREADS__
 pthread_mutex_t mylock = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
+#endif
 
 /*
  * Normal program termination