don't define _POSIX_SOURCE, it breaks things very slightly. if anyone knows the prope...
authortsauerbeck <tsauerbeck>
Thu, 26 May 2005 09:46:45 +0000 (09:46 +0000)
committertsauerbeck <tsauerbeck@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 26 May 2005 09:46:45 +0000 (09:46 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/eet@14947 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/bin/eet_main.c

index e2a69cb..c468333 100644 (file)
@@ -1,6 +1,3 @@
-/* PATH_MAX requires POSIX source */
-#define _POSIX_SOURCE
-
 #include "Eet.h"
 #include <stdio.h>
 #include <unistd.h>
 #include <limits.h>
 #include <fnmatch.h>
 
+#ifndef PATH_MAX
+#define PATH_MAX 4096
+#endif
+
 /* just some sample code on how to use encoder/decoders */
 #if 0
 #include <Evas.h>