diff options
author | tma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2007-09-15 00:02:50 +0000 |
---|---|---|
committer | tma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2007-09-15 00:02:50 +0000 |
commit | 5adc7bfafe2c2e214103e96b4e2a089871b83d8e (patch) | |
tree | 197a572c1a8b690afd6c1fce50ceb4ffc3cc1c2f /code/tools | |
parent | 531e036c25ffa5d527273d1c11c21dcc2939dd8b (diff) | |
download | ioquake3-aero-5adc7bfafe2c2e214103e96b4e2a089871b83d8e.tar.gz ioquake3-aero-5adc7bfafe2c2e214103e96b4e2a089871b83d8e.zip |
* Remove redundant win32 code in LCC which drew -I flags from the "include"
environment variable
git-svn-id: svn://svn.icculus.org/quake3/trunk@1181 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/tools')
-rw-r--r-- | code/tools/lcc/etc/lcc.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/code/tools/lcc/etc/lcc.c b/code/tools/lcc/etc/lcc.c index cac01b9..13ed690 100644 --- a/code/tools/lcc/etc/lcc.c +++ b/code/tools/lcc/etc/lcc.c @@ -526,10 +526,6 @@ static void help(void) { #define xx(v) if ((s = getenv(#v))) fprintf(stderr, #v "=%s\n", s) xx(LCCINPUTS); xx(LCCDIR); -#ifdef WIN32 - xx(include); - xx(lib); -#endif #undef xx } @@ -537,9 +533,6 @@ static void help(void) { static void initinputs(void) { char *s = getenv("LCCINPUTS"); List b; -#ifdef WIN32 - List list; -#endif if (s == 0 || (s = inputs)[0] == 0) s = "."; @@ -556,13 +549,6 @@ static void initinputs(void) { b->str = ""; } while (b != lccinputs); } -#ifdef WIN32 - if ((list = b = path2list(getenv("include")))) - do { - b = b->link; - ilist = append(stringf("-I\"%s\"", b->str), ilist); - } while (b != list); -#endif } /* interrupt - catch interrupt signals */ |