WinCE only.

Defines off_t.  Also adding env var for TMP directory.
This commit is contained in:
dougt%meer.net 2005-08-15 06:21:25 +00:00
parent e0e18d1e36
commit 5b1577c9ce
2 changed files with 5 additions and 3 deletions

View File

@ -135,7 +135,7 @@ typedef void (*_sigsig)(int inSignal);
// From sys/types.h
typedef int ptrdiff_t;
typedef long _off_t;
typedef long off_t;
// From sys/stat.h
#if !defined(_STAT_DEFINED)

View File

@ -73,7 +73,6 @@ MOZCE_SHUNT_API char* mozce_getenv(const char* inName)
char* retval = NULL;
#ifdef DEBUG_NSPR_ALL
if (!strcmp(inName, "NSPR_LOG_MODULES"))
return "all:5";
@ -87,7 +86,10 @@ MOZCE_SHUNT_API char* mozce_getenv(const char* inName)
if (!strcmp(inName, "NS_TIMELINE_ENABLE"))
return "1";
#endif
#endif
if (!_stricmp(inName, "tmp"))
return "/Temp";
return retval;
}