Changeset 532 for trunk/src


Ignore:
Timestamp:
Sep 18, 2006, 4:55:49 AM (19 years ago)
Author:
bird
Message:

Some fixes.

Location:
trunk/src/gmake
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gmake/kbuild.c

    r531 r532  
    2626
    2727/* No GNU coding style here! */
     28
     29#ifdef KMK_HELPERS
    2830
    2931#include "make.h"
     
    12881290}
    12891291
     1292
     1293#endif /* KMK_HELPERS */
  • trunk/src/gmake/main.c

    r530 r532  
    414414      "print-data-base" },
    415415#ifdef KMK
    416     { CHAR_MAX+5, positive_int, (char *) &process_priority, 1, 1, 0, 0, 0,
    417       "priority" },
     416    { CHAR_MAX+5, positive_int, (char *) &process_priority, 1, 1, 0,
     417      (char *) &process_priority, (char *) &process_priority, "priority" },
    418418#endif
    419419    { 'q', flag, (char *) &question_flag, 1, 1, 1, 0, 0, "question" },
  • trunk/src/gmake/w32/pathstuff.c

    r529 r532  
    9090w32_fixcase(char *pszPath)
    9191{
    92 #define my_assert(expr) \
     92#ifndef NDEBUG
     93# define my_assert(expr) \
    9394    do { \
    9495        if (!(expr)) { \
     
    99100        } \
    100101    } while (0)
     102#else
     103# define my_assert(expr) do {} while (0)
     104#endif
    101105   
    102106    char *psz = pszPath;
Note: See TracChangeset for help on using the changeset viewer.