[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
feature/native-comp b6f06c3 2/2: * lisp/emacs-lisp/comp.el (w32-get-npro
From: |
Andrea Corallo |
Subject: |
feature/native-comp b6f06c3 2/2: * lisp/emacs-lisp/comp.el (w32-get-nproc): Suppress warning declaring it. |
Date: |
Sun, 7 Mar 2021 14:34:33 -0500 (EST) |
branch: feature/native-comp
commit b6f06c32b47be265865949e1f09df4768d5a87e1
Author: Andrea Corallo <akrl@sdf.org>
Commit: Andrea Corallo <akrl@sdf.org>
* lisp/emacs-lisp/comp.el (w32-get-nproc): Suppress warning declaring it.
For non Windows system.
---
lisp/emacs-lisp/comp.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el
index cedbb78..7b2883b 100644
--- a/lisp/emacs-lisp/comp.el
+++ b/lisp/emacs-lisp/comp.el
@@ -3818,6 +3818,7 @@ processes from `comp-async-compilations'"
do (remhash file-name comp-async-compilations))
(hash-table-count comp-async-compilations))
+(declare-function w32-get-nproc "w32.c")
(defvar comp-num-cpus nil)
(defun comp-effective-async-max-jobs ()
"Compute the effective number of async jobs."