aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii <[email protected]>2011-02-26 16:02:45 +0200
committerEli Zaretskii <[email protected]>2011-02-26 16:02:45 +0200
commite5c96d21844dab1f1f484e9998cd1a337d1b5013 (patch)
tree309dd7e919c1af3ca325ff2a0b97b4db64459d9d
parent464c5ebfe7e674f7e5521a1a6179c64788014781 (diff)
Define nlink_t for w32.
nt/config.nt (nlink_t): Define.
-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 f20fbd1d31..bfaba610bf 100644
--- a/nt/ChangeLog
+++ b/nt/ChangeLog
@@ -1,3 +1,7 @@
+2011-02-26 Eli Zaretskii <[email protected]>
+
+ * config.nt (nlink_t): Define.
+
2011-02-21 Christoph Scholtes <[email protected]>
* inc/stdint.h: New file, to support compilation with tool chains
diff --git a/nt/config.nt b/nt/config.nt
index b5ef24fc18..26fbc1c67c 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