summaryrefslogtreecommitdiff
path: root/src/lib/eina/eina_file.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric@efl.so>2013-11-10 09:26:12 +0100
committerCedric BAIL <cedric@efl.so>2013-11-10 09:26:12 +0100
commitda559ee5d0403b145a334c26c5cf9c45cf03f40f (patch)
treef83ca3831e76cfc88eedbae2d0cc8935f450d193 /src/lib/eina/eina_file.c
parentecaca1d365b998b3e339b387897c0646b2b3556f (diff)
eina: use portable infrastructure to detect page size.
Diffstat (limited to 'src/lib/eina/eina_file.c')
-rw-r--r--src/lib/eina/eina_file.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/eina/eina_file.c b/src/lib/eina/eina_file.c
index 7b8aaff..6d7ee56 100644
--- a/src/lib/eina/eina_file.c
+++ b/src/lib/eina/eina_file.c
@@ -37,7 +37,6 @@
37#include <fcntl.h> 37#include <fcntl.h>
38 38
39#define PATH_DELIM '/' 39#define PATH_DELIM '/'
40#define COPY_BLOCKSIZE (4 * 1024 * 1024)
41 40
42#include "eina_config.h" 41#include "eina_config.h"
43#include "eina_private.h" 42#include "eina_private.h"
@@ -67,7 +66,7 @@
67 * @cond LOCAL 66 * @cond LOCAL
68 */ 67 */
69 68
70#define EINA_SMALL_PAGE 4096 69#define EINA_SMALL_PAGE eina_cpu_page_size()
71#define EINA_HUGE_PAGE 16 * 1024 * 1024 70#define EINA_HUGE_PAGE 16 * 1024 * 1024
72 71
73#ifdef HAVE_DIRENT_H 72#ifdef HAVE_DIRENT_H