Changeset 1809 for trunk/src/kmk/main.c


Ignore:
Timestamp:
Oct 10, 2008, 4:27:38 AM (17 years ago)
Author:
bird
Message:

kmk: More length and alloc optimizations. Made all the length optimizations from yesterday CONFIG_WITH_VALUE_LENGTH instead of KMK.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/main.c

    r1744 r1809  
    5555#  define INCL_BASE
    5656#  include <os2.h>
    57 # endif 
     57# endif
    5858#endif /* KMK*/
    5959
     
    375375    N_("\
    376376  -j [N], --jobs[=N]          Allow N jobs at once; infinite jobs with no arg.\n"),
    377 #endif 
     377#endif
    378378    N_("\
    379379  -k, --keep-going            Keep going when some targets can't be made.\n"),
     
    11231123/* Determins the number of CPUs that are currently online.
    11241124   This is used to setup the default number of job slots. */
    1125 static int 
     1125static int
    11261126get_online_cpu_count(void)
    11271127{
     
    11511151    return cpus ? cpus : 1;
    11521152
    1153 # else 
     1153# else
    11541154  /* UNIX like systems, try sysconf and sysctl. */
    11551155  int cpus = -1;
     
    11571157  int mib[2];
    11581158  size_t sz;
    1159 #  endif 
     1159#  endif
    11601160
    11611161#  ifdef _SC_NPROCESSORS_ONLN
Note: See TracChangeset for help on using the changeset viewer.