Changeset 1868 in kBuild for trunk/src/kmk
- Timestamp:
- Oct 15, 2008 11:10:08 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/incdep.c
r1866 r1868 81 81 #endif 82 82 83 #if defined(__gnu_linux__) || defined(__linux__) 84 # define PARSE_IN_WORKER 85 #endif 86 83 87 84 88 /******************************************************************************* … … 634 638 { 635 639 alloccache_init (&incdep_dep_caches[i], sizeof(struct dep), "incdep dep", 636 incdep_cache_allocator, (void *) i);640 incdep_cache_allocator, (void *)(size_t)i); 637 641 638 642 #ifdef HAVE_PTHREAD … … 645 649 fatal (f, _("pthread_attr_setdetachstate failed: err=%d"), rc); 646 650 rc = pthread_create(&incdep_threads[i], &attr, 647 incdep_worker_pthread, (void *) i);651 incdep_worker_pthread, (void *)(size_t)i); 648 652 if (rc) 649 653 fatal (f, _("pthread_mutex_init failed: err=%d"), rc);
Note:
See TracChangeset
for help on using the changeset viewer.