X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d483f591fd771565b580ae73a6fc3c18b8ef4137..8734addee4efb8501991834fb99c2da15e9f8482:/src/portable.h diff --git a/src/portable.h b/src/portable.h index c4caaf9a7c..6e8f6b7004 100644 --- a/src/portable.h +++ b/src/portable.h @@ -108,17 +108,6 @@ extern int asnprintf(char **ptr, size_t str_m, const char *fmt, /*args */ extern int vasnprintf(char **ptr, size_t str_m, const char *fmt, va_list ap); -/* - * That's needed to protect solaris's printf from ever seing NULL associated to a %s format - * (without adding an extra check on working platforms :) - */ - -#ifdef PRINTF_NULL_WORKING -# define PRINTF_STR(a) (a) -#else -# define PRINTF_STR(a) (a)?:"(null)" -#endif - /* * What we need to extract the backtrace in exception handling code */