Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torch/paths.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeon Bottou <leon@bottou.org>2013-08-24 22:18:41 +0400
committerLeon Bottou <leon@bottou.org>2013-08-24 22:18:41 +0400
commite001b093a47a737dc6c0b0526186918e7e8049c3 (patch)
treeb97c7e5d8164d4fbc0d0362c960189d7dc310e4d /paths.h.in
parent57a14c39b71680f478b6710b418f77c4016d9c35 (diff)
added paths.uname()
Diffstat (limited to 'paths.h.in')
-rw-r--r--paths.h.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/paths.h.in b/paths.h.in
index 935160f..9a0e768 100644
--- a/paths.h.in
+++ b/paths.h.in
@@ -40,6 +40,7 @@
#cmakedefine HAVE_SYS_TIME_H 1
#cmakedefine HAVE_SYS_NDIR_H 1
#cmakedefine HAVE_SYS_DIR_H 1
+#cmakedefine HAVE_SYS_UTSNAME_H 1
#cmakedefine HAVE_NDIR_H 1
#cmakedefine HAVE_GETCWD 1
@@ -55,6 +56,9 @@
# if HAVE_SYS_TIME_H
# include <sys/time.h>
# endif
+# if HAVE_SYS_UTSNAME_H
+# include <sys/utsname.h>
+# endif
# if HAVE_TIME_H
# include <time.h>
# endif