diff options
Diffstat (limited to '')
-rw-r--r-- | libraries/ecore/src/lib/ecore/ecore_pipe.c | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/libraries/ecore/src/lib/ecore/ecore_pipe.c b/libraries/ecore/src/lib/ecore/ecore_pipe.c index aa640cd..ea7453e 100644 --- a/libraries/ecore/src/lib/ecore/ecore_pipe.c +++ b/libraries/ecore/src/lib/ecore/ecore_pipe.c | |||
@@ -36,15 +36,13 @@ | |||
36 | # include <Escape.h> | 36 | # include <Escape.h> |
37 | #endif | 37 | #endif |
38 | 38 | ||
39 | #ifdef HAVE_EXOTIC | ||
40 | # include <Exotic.h> | ||
41 | #endif | ||
42 | |||
39 | #include "Ecore.h" | 43 | #include "Ecore.h" |
40 | #include "ecore_private.h" | 44 | #include "ecore_private.h" |
41 | 45 | ||
42 | #ifdef _WIN32 | ||
43 | # define FMT_SSIZE_T "%Id" | ||
44 | #else | ||
45 | # define FMT_SSIZE_T "%zd" | ||
46 | #endif | ||
47 | |||
48 | /* How of then we should retry to write to the pipe */ | 46 | /* How of then we should retry to write to the pipe */ |
49 | #define ECORE_PIPE_WRITE_RETRY 6 | 47 | #define ECORE_PIPE_WRITE_RETRY 6 |
50 | 48 | ||
@@ -80,6 +78,9 @@ | |||
80 | 78 | ||
81 | #endif /* ! _WIN32 */ | 79 | #endif /* ! _WIN32 */ |
82 | 80 | ||
81 | #include <Ecore.h> | ||
82 | #include "ecore_private.h" | ||
83 | |||
83 | struct _Ecore_Pipe | 84 | struct _Ecore_Pipe |
84 | { | 85 | { |
85 | ECORE_MAGIC; | 86 | ECORE_MAGIC; |
@@ -414,7 +415,7 @@ ecore_pipe_write(Ecore_Pipe *p, | |||
414 | ; | 415 | ; |
415 | else | 416 | else |
416 | { | 417 | { |
417 | ERR("An unhandled error (ret: " FMT_SSIZE_T " errno: %d)" | 418 | ERR("An unhandled error (ret: %zd errno: %d)" |
418 | "occurred while writing to the pipe the length", | 419 | "occurred while writing to the pipe the length", |
419 | ret, errno); | 420 | ret, errno); |
420 | } | 421 | } |
@@ -448,7 +449,7 @@ ecore_pipe_write(Ecore_Pipe *p, | |||
448 | ; | 449 | ; |
449 | else | 450 | else |
450 | { | 451 | { |
451 | ERR("An unhandled error (ret: " FMT_SSIZE_T " errno: %d)" | 452 | ERR("An unhandled error (ret: %zd errno: %d)" |
452 | "occurred while writing to the pipe the length", | 453 | "occurred while writing to the pipe the length", |
453 | ret, errno); | 454 | ret, errno); |
454 | } | 455 | } |