about summary refs log tree commit diff
path: root/third_party
diff options
context:
space:
mode:
authorLuke Granger-Brown <hg@lukegb.com>2020-06-22T00·18+0100
committerlukegb <lukegb@tvl.fyi>2020-06-22T01·12+0000
commit5252623ca7f2ae419fc02afe74281ebe7c5e346f (patch)
tree39de046971dc0acfb1e2c82fd7c60d1e90e35b01 /third_party
parent0367e8c3037a4c449054b86a08f7924b7e6f006d (diff)
fix(3p/nix): fix readTree by fixing readDir by deleting some code r/1060
Change-Id: I4f44e6050fc5121072f4cde7758defe2dcbd4e92
Reviewed-on: https://cl.tvl.fyi/c/depot/+/552
Reviewed-by: tazjin <mail@tazj.in>
Diffstat (limited to 'third_party')
-rw-r--r--third_party/nix/src/libutil/util.hh7
1 files changed, 0 insertions, 7 deletions
diff --git a/third_party/nix/src/libutil/util.hh b/third_party/nix/src/libutil/util.hh
index b308c428fd..c39a6f06a5 100644
--- a/third_party/nix/src/libutil/util.hh
+++ b/third_party/nix/src/libutil/util.hh
@@ -17,13 +17,6 @@
 
 #include "libutil/types.hh"
 
-#ifndef HAVE_STRUCT_DIRENT_D_TYPE
-#define DT_UNKNOWN 0
-#define DT_REG 1
-#define DT_LNK 2
-#define DT_DIR 3
-#endif
-
 namespace nix {
 
 struct Sink;