mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
libDtCmP: use TIRPC on linux, fix some warnings
This commit is contained in:
parent
2bcd57ce33
commit
2a77e84e87
2 changed files with 4 additions and 1 deletions
|
@ -17,6 +17,9 @@ DEFINES = -DRFC_MIME -DLINE_COUNT -DV2 -DOW_I18N \
|
|||
-DREL="$(OSMAJORVERSION)$(OSMINORVERSION)" \
|
||||
-DRELMAJOR="$(OSMAJORVERSION)" -DRELMINOR="$(OSMINORVERSION)"
|
||||
|
||||
#if defined(LinuxArchitecture)
|
||||
EXTRA_INCLUDES = $(TIRPCINC)
|
||||
#endif
|
||||
|
||||
#ifdef SunArchitecture
|
||||
XCOMM Uncomment to build using Federated Naming Services. To activate
|
||||
|
|
|
@ -1014,7 +1014,7 @@ init_time()
|
|||
if (getenv("TZ") == NULL){
|
||||
char *tzptr;
|
||||
tzptr = malloc(strlen(tzname[0]) + strlen(tzname[1]) + 10);
|
||||
sprintf (tzptr,"TZ=%s%d%s", tzname[0], timezone/3600, tzname[1]);
|
||||
sprintf (tzptr,"TZ=%s%ld%s", tzname[0], timezone/3600, tzname[1]);
|
||||
putenv(tzptr);
|
||||
tzset();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue