mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-27 06:13:01 +00:00
* Remove redundant win32 code in LCC which drew -I flags from the "include"
environment variable
This commit is contained in:
parent
cadaaffcce
commit
2052b94adc
1 changed files with 0 additions and 14 deletions
|
@ -526,10 +526,6 @@ static void help(void) {
|
||||||
#define xx(v) if ((s = getenv(#v))) fprintf(stderr, #v "=%s\n", s)
|
#define xx(v) if ((s = getenv(#v))) fprintf(stderr, #v "=%s\n", s)
|
||||||
xx(LCCINPUTS);
|
xx(LCCINPUTS);
|
||||||
xx(LCCDIR);
|
xx(LCCDIR);
|
||||||
#ifdef WIN32
|
|
||||||
xx(include);
|
|
||||||
xx(lib);
|
|
||||||
#endif
|
|
||||||
#undef xx
|
#undef xx
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -537,9 +533,6 @@ static void help(void) {
|
||||||
static void initinputs(void) {
|
static void initinputs(void) {
|
||||||
char *s = getenv("LCCINPUTS");
|
char *s = getenv("LCCINPUTS");
|
||||||
List b;
|
List b;
|
||||||
#ifdef WIN32
|
|
||||||
List list;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
if (s == 0 || (s = inputs)[0] == 0)
|
if (s == 0 || (s = inputs)[0] == 0)
|
||||||
s = ".";
|
s = ".";
|
||||||
|
@ -556,13 +549,6 @@ static void initinputs(void) {
|
||||||
b->str = "";
|
b->str = "";
|
||||||
} while (b != lccinputs);
|
} 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 */
|
/* interrupt - catch interrupt signals */
|
||||||
|
|
Loading…
Reference in a new issue