forked from enlightenment/efl
parent
8ed17348e9
commit
2382fe75ce
|
@ -69,10 +69,13 @@ typedef enum {
|
|||
/* Why do this? Well PATH_MAX may vary from when eina itself is compiled
|
||||
* to when the app using eina is compiled. exposing the path buffer below
|
||||
* cant safely and portably vary based on how/when you compile. it should
|
||||
* always be the same for both eina inside ANd for apps outside that use eina
|
||||
* so define this ti 8192 minus ther other struct bits so that
|
||||
* Eina_File_Direct_Info can take a nice round 2 pages. */
|
||||
#define EINA_PATH_MAX (8192 - (sizeof(size_t) * 3) - sizeof(Eina_File_Type))
|
||||
* always be the same for both eina inside AND for apps outside that use eina
|
||||
* so define this to 8192 - most PATH_MAX values are like 4096 or 1024 (with
|
||||
* windows i think being 260), so 8192 should cover almost all cases. there
|
||||
* is a possibility that PATH_MAX could be more than 8192. if anyone spots
|
||||
* a path_max that is bigger - let us know, but, for now we will assume
|
||||
* it never happens */
|
||||
#define EINA_PATH_MAX 8192
|
||||
/**
|
||||
* @struct _Eina_File_Direct_Info
|
||||
* A structure to store informations of a path.
|
||||
|
|
Loading…
Reference in New Issue