瀏覽代碼

fix typos on RLIM_NLIMITS, remove _GNU_SOURCE test for it

RLIM_* is in the reserved namespace for this header
Rich Felker 14 年之前
父節點
當前提交
45a3219944
共有 1 個文件被更改,包括 1 次插入3 次删除
  1. 1 3
      include/sys/resource.h

+ 1 - 3
include/sys/resource.h

@@ -73,9 +73,7 @@ int setpriority (int, id_t, int);
 #define RLIMIT_RTPRIO  14
 #define RLIMIT_NLIMITS 15
 
-#ifdef _GNU_SOURCE
-#define RLIMT_NLIMIT RLIMIT_NLIMITS
-#endif
+#define RLIM_NLIMITS RLIMIT_NLIMITS
 
 
 #endif