r1181 - trunk/code/tools/lcc/etc
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Fri Sep 14 20:02:50 EDT 2007
Author: tma
Date: 2007-09-14 20:02:50 -0400 (Fri, 14 Sep 2007)
New Revision: 1181
Modified:
trunk/code/tools/lcc/etc/lcc.c
Log:
* Remove redundant win32 code in LCC which drew -I flags from the "include"
environment variable
Modified: trunk/code/tools/lcc/etc/lcc.c
===================================================================
--- trunk/code/tools/lcc/etc/lcc.c 2007-09-14 23:07:28 UTC (rev 1180)
+++ trunk/code/tools/lcc/etc/lcc.c 2007-09-15 00:02:50 UTC (rev 1181)
@@ -526,10 +526,6 @@
#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 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 @@
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 */
More information about the quake3-commits
mailing list