|
From: <dan...@us...> - 2008-09-04 18:45:12
|
Revision: 1172
http://cegcc.svn.sourceforge.net/cegcc/?rev=1172&view=rev
Author: dannybackx
Date: 2008-09-04 18:45:10 +0000 (Thu, 04 Sep 2008)
Log Message:
-----------
Don't define getenv and system.
Modified Paths:
--------------
trunk/cegcc/src/mingw/ChangeLog.mingw32ce
trunk/cegcc/src/mingw/include/stdlib.h
Modified: trunk/cegcc/src/mingw/ChangeLog.mingw32ce
===================================================================
--- trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2008-09-04 18:28:26 UTC (rev 1171)
+++ trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2008-09-04 18:45:10 UTC (rev 1172)
@@ -1,3 +1,7 @@
+2008-09-04 Danny Backx <dan...@us...>
+
+ * include/stdlib.h : Don't define getenv and system on CE.
+
2007-12-25 Pedro Alves <ped...@po...>
* Makefile.in, mingwex/Makefile.in, profile/Makefile.in: Use
Modified: trunk/cegcc/src/mingw/include/stdlib.h
===================================================================
--- trunk/cegcc/src/mingw/include/stdlib.h 2008-09-04 18:28:26 UTC (rev 1171)
+++ trunk/cegcc/src/mingw/include/stdlib.h 2008-09-04 18:45:10 UTC (rev 1172)
@@ -380,10 +380,12 @@
/* Note: This is in startup code, not imported directly from dll */
int __cdecl atexit (void (*)(void));
+#ifndef _WIN32_WCE
#ifndef __COREDLL__
_CRTIMP int __cdecl system (const char*);
_CRTIMP char* __cdecl getenv (const char*);
#endif
+#endif
/* bsearch and qsort are also in non-ANSI header search.h */
_CRTIMP void* __cdecl bsearch (const void*, const void*, size_t, size_t,
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|