]> granicus.if.org Git - nethack/commitdiff
Allow defining file creation mask in hints file
authorPasi Kallinen <paxed@alt.org>
Tue, 24 Apr 2018 16:04:42 +0000 (19:04 +0300)
committerPasi Kallinen <paxed@alt.org>
Tue, 24 Apr 2018 16:04:42 +0000 (19:04 +0300)
include/unixconf.h

index cec8c709aef806bdb216bfdd7ca76c06dcd3c82a..6ee8a0345a1c6626ebb77df727f87140d4faf20a 100644 (file)
 /* #define COMPRESS_OPTIONS "-q" */
 #endif
 
+#ifndef FCMASK
 #define FCMASK 0660 /* file creation mask */
+#endif
 
 /* fcntl(2) is a POSIX-portable call for manipulating file descriptors.
  * Comment out the USE_FCNTL if for some reason you have a strange