summaryrefslogtreecommitdiff
path: root/nt
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2011-02-26 16:02:45 +0200
committerEli Zaretskii <eliz@gnu.org>2011-02-26 16:02:45 +0200
commite5c96d21844dab1f1f484e9998cd1a337d1b5013 (patch)
tree309dd7e919c1af3ca325ff2a0b97b4db64459d9d /nt
parent464c5ebfe7e674f7e5521a1a6179c64788014781 (diff)
downloademacs-e5c96d21844dab1f1f484e9998cd1a337d1b5013.tar.gz
Define nlink_t for w32.
nt/config.nt (nlink_t): Define.
Diffstat (limited to 'nt')
-rw-r--r--nt/ChangeLog4
-rw-r--r--nt/config.nt3
2 files changed, 7 insertions, 0 deletions
diff --git a/nt/ChangeLog b/nt/ChangeLog
index f20fbd1d31a..bfaba610bf2 100644
--- a/nt/ChangeLog
+++ b/nt/ChangeLog
@@ -1,3 +1,7 @@
+2011-02-26 Eli Zaretskii <eliz@gnu.org>
+
+ * config.nt (nlink_t): Define.
+
2011-02-21 Christoph Scholtes <cschol2112@gmail.com>
* inc/stdint.h: New file, to support compilation with tool chains
diff --git a/nt/config.nt b/nt/config.nt
index b5ef24fc18b..26fbc1c67c5 100644
--- a/nt/config.nt
+++ b/nt/config.nt
@@ -411,6 +411,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#define my_strftime nstrftime /* for strftime.c */
+/* Define to the type of st_nlink in struct stat, or a supertype. */
+#define nlink_t short
+
#ifndef WINDOWSNT
/* Some of the files of Emacs which are intended for use with other
programs assume that if you have a config.h file, you must declare