mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-05-01 11:34:41 +00:00
fix build errors on windows
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@778 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
379bb9e342
commit
e48055f710
1 changed files with 5 additions and 1 deletions
6
setup.py
6
setup.py
|
|
@ -136,7 +136,10 @@ class MyDistribution (Distribution):
|
|||
util.execute(write_file, (filename, data),
|
||||
"creating %s" % filename, self.verbose>=1, self.dry_run)
|
||||
|
||||
|
||||
if os.name=='nt':
|
||||
macros = [('YY_NO_UNISTD_H', None)]
|
||||
else:
|
||||
macros = []
|
||||
myname = "Bastian Kleineidam"
|
||||
myemail = "calvin@users.sourceforge.net"
|
||||
|
||||
|
|
@ -175,6 +178,7 @@ o a (Fast)CGI web interface (requires HTTP server)
|
|||
['linkcheck/parser/htmllex.c',
|
||||
'linkcheck/parser/htmlparse.c'],
|
||||
include_dirs = ["linkcheck/parser"],
|
||||
define_macros = macros,
|
||||
)],
|
||||
|
||||
scripts = ['linkchecker'],
|
||||
|
|
|
|||
Loading…
Reference in a new issue