From 85a36a8f7f64dab7960084b4a4fbf8cd64919f72 Mon Sep 17 00:00:00 2001 From: Vincent Torri Date: Sat, 18 Feb 2012 12:55:26 +0000 Subject: [PATCH] Ecore: ecore_pipe: remove ugly FMT_* compatibility strings as Evil has now POSIX printf family functions SVN revision: 68104 --- legacy/ecore/src/lib/ecore/ecore_pipe.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/legacy/ecore/src/lib/ecore/ecore_pipe.c b/legacy/ecore/src/lib/ecore/ecore_pipe.c index aa640cdd8d..9304357eb4 100644 --- a/legacy/ecore/src/lib/ecore/ecore_pipe.c +++ b/legacy/ecore/src/lib/ecore/ecore_pipe.c @@ -39,12 +39,6 @@ #include "Ecore.h" #include "ecore_private.h" -#ifdef _WIN32 -# define FMT_SSIZE_T "%Id" -#else -# define FMT_SSIZE_T "%zd" -#endif - /* How of then we should retry to write to the pipe */ #define ECORE_PIPE_WRITE_RETRY 6 @@ -414,7 +408,7 @@ ecore_pipe_write(Ecore_Pipe *p, ; else { - ERR("An unhandled error (ret: " FMT_SSIZE_T " errno: %d)" + ERR("An unhandled error (ret: %zd errno: %d)" "occurred while writing to the pipe the length", ret, errno); } @@ -448,7 +442,7 @@ ecore_pipe_write(Ecore_Pipe *p, ; else { - ERR("An unhandled error (ret: " FMT_SSIZE_T " errno: %d)" + ERR("An unhandled error (ret: %zd errno: %d)" "occurred while writing to the pipe the length", ret, errno); }