]> code.delx.au - gnu-emacs/blobdiff - src/filelock.c
Fix compiler warnings in the MinGW build
[gnu-emacs] / src / filelock.c
index 62017188b33bf644c81e667b5b4c0e5a292f51a9..2f92e0fdc83f5b868442a91abd393ed9b7decef1 100644 (file)
@@ -65,7 +65,7 @@ along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
 #define BOOT_TIME_FILE "/var/run/random-seed"
 #endif
 
-#ifndef WTMP_FILE
+#if !defined WTMP_FILE && !defined WINDOWSNT
 #define WTMP_FILE "/var/log/wtmp"
 #endif