mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 03:45:46 +00:00
WinCE only.
Defines off_t. Also adding env var for TMP directory.
This commit is contained in:
parent
e0e18d1e36
commit
5b1577c9ce
@ -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)
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user