| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent fc4966b commit 5cd975c
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -46,7 +46,13 @@ | |||
| 46 | 46 | try: | |
| 47 | 47 | searchdirs=string.splitfields(os.environ['INCLUDE'],';') | |
| 48 | 48 | except KeyError: | |
| 49 | - searchdirs=['/usr/include'] | ||
| 49 | + try: | ||
| 50 | + if string.find( sys.platform, "beos" ) == 0: | ||
| 51 | + searchdirs=string.splitfields(os.environ['BEINCLUDES'],';') | ||
| 52 | + else: | ||
| 53 | + raise KeyError | ||
| 54 | + except KeyError: | ||
| 55 | + searchdirs=['/usr/include'] | ||
| 50 | 56 | ||
| 51 | 57 | def main(): | |
| 52 | 58 | global filedict | |
| Back | FazBrowse Home | New Git URL |
0 commit comments