this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

_simple functions now built

+9 -1
+1 -1
libc/gen/CMakeLists.txt
··· 45 45 scalable_malloc.c 46 46 setlogin.c 47 47 sigsetops.c 48 - #_simple.c 48 + _simple.c 49 49 stack_logging.c 50 50 stack_logging_disk.c 51 51 strtofflags.c
+8
libc/gen/_simple.c
··· 1 + // Modified by Lubos Dolezel for Darling (dummyfied ASL stuff until implemented) 1 2 /* 2 3 * Copyright (c) 2005, 2006, 2009 Apple Computer, Inc. All rights reserved. 3 4 * ··· 39 40 #include <pthread.h> 40 41 #include <errno.h> 41 42 #include <servers/bootstrap.h> 43 + #ifndef DARLING 42 44 #include <asl_ipc.h> 45 + #endif 43 46 44 47 #include "_simple.h" 45 48 ··· 632 635 static void 633 636 _simple_asl_init(void) 634 637 { 638 + #ifndef DARLING 635 639 kern_return_t status; 636 640 char *str; 637 641 ··· 643 647 status = bootstrap_look_up(bootstrap_port, ASL_SERVICE_NAME, &asl_port); 644 648 if (status != KERN_SUCCESS) asl_port = MACH_PORT_NULL; 645 649 } 650 + #endif 646 651 } 647 652 648 653 void 649 654 _simple_asl_log_prog(int level, const char *facility, const char *message, const char *prog) 650 655 { 656 + #ifndef DARLING 657 + 651 658 _SIMPLE_STRING b; 652 659 653 660 if (pthread_once(&asl_init_once, _simple_asl_init) != 0) return; ··· 705 712 } while (0); 706 713 707 714 _simple_sfree(b); 715 + #endif 708 716 } 709 717 710 718 void