Ticket #37397: pinpoint.diff

File pinpoint.diff, 594 bytes (added by macports@…, 12 years ago)

patch to compile

  • pinpoint.c

     
    329329#define END_PARSER   }
    330330#define IF_PREFIX(prefix) } else if (g_str_has_prefix (setting, prefix)) {
    331331#define IF_EQUAL(string) } else if (g_str_equal (setting, string)) {
    332 #define char g_intern_string (strchrnul (setting, '=') + 1)
    333 #define float g_ascii_strtod (strchrnul (setting, '=') + 1, NULL);
     332#define char g_intern_string (strchr (setting, '=') + 1)
     333#define float g_ascii_strtod (strchr (setting, '=') + 1, NULL);
    334334#define enum(r,t,s) \
    335335  do { \
    336336      int _i; \