From: tsauerbeck Date: Thu, 26 May 2005 09:46:45 +0000 (+0000) Subject: don't define _POSIX_SOURCE, it breaks things very slightly. if anyone knows the prope... X-Git-Tag: submit/2.0alpha-wayland/20121127.222001~910 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ae167ecf792061b7ca57600fc8f9e7effd118151;p=profile%2Fivi%2Feet.git don't define _POSIX_SOURCE, it breaks things very slightly. if anyone knows the proper fix, go ahead. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/eet@14947 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/bin/eet_main.c b/src/bin/eet_main.c index e2a69cb..c468333 100644 --- a/src/bin/eet_main.c +++ b/src/bin/eet_main.c @@ -1,6 +1,3 @@ -/* PATH_MAX requires POSIX source */ -#define _POSIX_SOURCE - #include "Eet.h" #include #include @@ -13,6 +10,10 @@ #include #include +#ifndef PATH_MAX +#define PATH_MAX 4096 +#endif + /* just some sample code on how to use encoder/decoders */ #if 0 #include