Skip to content
Snippets Groups Projects
Commit 405fa42e authored by Nick Mathewson's avatar Nick Mathewson :game_die:
Browse files

Another windows include

parent 4b32446a
No related branches found
No related tags found
No related merge requests found
......@@ -58,12 +58,21 @@ def load_include_rules(fname):
result.addPattern(line)
return result
MDD = "--mdd" in sys.argv[1:]
if MDD:
print(
for dirpath, dirnames, fnames in os.walk("src"):
if ".may_include" in fnames:
rules = load_include_rules(os.path.join(dirpath, RULES_FNAME))
for fname in fnames:
if fname_is_c(fname):
rules.applyToFile(os.path.join(dirpath,fname))
if MDD:
dp = dirpath.replace("src/","")
rules.dump_mdd(dp)
else:
for fname in fnames:
if fname_is_c(fname):
rules.applyToFile(os.path.join(dirpath,fname))
if trouble:
err(
......
......@@ -13,6 +13,7 @@
#include <errno.h>
#include <time.h>
#include <string.h>
#include <stdlib.h>
#if !defined(_WIN32)
/** Defined iff we need to add locks when defining fake versions of reentrant
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment