From 5252623ca7f2ae419fc02afe74281ebe7c5e346f Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Mon, 22 Jun 2020 01:18:34 +0100 Subject: fix(3p/nix): fix readTree by fixing readDir by deleting some code Change-Id: I4f44e6050fc5121072f4cde7758defe2dcbd4e92 Reviewed-on: https://cl.tvl.fyi/c/depot/+/552 Reviewed-by: tazjin --- third_party/nix/src/libutil/util.hh | 7 ------- 1 file changed, 7 deletions(-) (limited to 'third_party') 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; -- cgit 1.4.1