Index: trunk/src/global.h =================================================================== --- trunk/src/global.h (revision 2668) +++ trunk/src/global.h (revision 2669) @@ -551,6 +551,8 @@ /* Make sure to catch usage of non-portable functions in debug mode */ #ifndef NDEBUG +# undef strdup +# undef strndup # define strdup never_use_strdup__use_pcb_strdup # define strndup never_use_strndup__use_pcb_strndup #endif