diff options
author | Luke Granger-Brown <hg@lukegb.com> | 2020-06-22T00·18+0100 |
---|---|---|
committer | lukegb <lukegb@tvl.fyi> | 2020-06-22T01·12+0000 |
commit | 5252623ca7f2ae419fc02afe74281ebe7c5e346f (patch) | |
tree | 39de046971dc0acfb1e2c82fd7c60d1e90e35b01 /third_party | |
parent | 0367e8c3037a4c449054b86a08f7924b7e6f006d (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.hh | 7 |
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 b308c428fd2c..c39a6f06a5cf 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; |