• Eli Zaretskii's avatar
    Implement getrlimit and setrlimit for MS-Windows · 4cdd14ea
    Eli Zaretskii authored
    * src/w32heap.c (getrlimit, setrlimit): New functions.
    Include w32.h.
    * src/emacs.c (main): Use 'rlim_t', not 'long', for values that
    should be compatible with 'struct rlimit' members.
    
    * nt/inc/sys/resource.h: New header file.
    
    * nt/mingw-cfg.site (ac_cv_func_getrlimit, ac_cv_func_setrlimit):
    Set to "yes".
    4cdd14ea
w32heap.c 25.6 KB