mirror of
https://github.com/NixOS/nix
synced 2025-06-28 01:11:15 +02:00
libutil/windows: only define headers/code if we are actually on windows
all those includes otherwise break linters.
This commit is contained in:
parent
b9bbdbeb0b
commit
eda331e53f
13 changed files with 43 additions and 12 deletions
|
@ -4,8 +4,8 @@
|
|||
|
||||
// inluding the generated headers twice leads to errors
|
||||
#ifndef BISON_HEADER
|
||||
#include "lexer-tab.hh"
|
||||
#include "parser-tab.hh"
|
||||
# include "lexer-tab.hh"
|
||||
# include "parser-tab.hh"
|
||||
#endif
|
||||
|
||||
namespace nix::lexer::internal {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue