trying to get PATH_MAX
parent
4abdf2f530
commit
66618ec990
|
@ -186,7 +186,8 @@ expand_track_system_listeners(File_Track_System *system, Partition *scratch, voi
|
||||||
|
|
||||||
if (size < PATH_MAX){
|
if (size < PATH_MAX){
|
||||||
result = FileTrack_MemoryTooSmall;
|
result = FileTrack_MemoryTooSmall;
|
||||||
} else {
|
}
|
||||||
|
else{
|
||||||
vars->string_mem_begin = (char*)mem;
|
vars->string_mem_begin = (char*)mem;
|
||||||
vars->string_mem_end = (char*)mem + size;;
|
vars->string_mem_end = (char*)mem + size;;
|
||||||
}
|
}
|
||||||
|
|
|
@ -43,6 +43,8 @@
|
||||||
#include "4ed_font_interface_to_os.h"
|
#include "4ed_font_interface_to_os.h"
|
||||||
#include "4ed_system_shared.h"
|
#include "4ed_system_shared.h"
|
||||||
|
|
||||||
|
#include <sys/syslimits.h>
|
||||||
|
|
||||||
#include "unix_4ed_functions.cpp"
|
#include "unix_4ed_functions.cpp"
|
||||||
|
|
||||||
#include "osx_objective_c_to_cpp_links.h"
|
#include "osx_objective_c_to_cpp_links.h"
|
||||||
|
|
Loading…
Reference in New Issue