From 41235238358e81088d0625e2a8c5213024e9baaa Mon Sep 17 00:00:00 2001 From: caro 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 git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@68104 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/ecore/ecore_pipe.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/lib/ecore/ecore_pipe.c b/src/lib/ecore/ecore_pipe.c index aa640cd..9304357 100644 --- a/src/lib/ecore/ecore_pipe.c +++ b/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); } -- 2.7.4