mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-26 14:15:32 +00:00
compile fix for ubuntu, probably not generic enough
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19710 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
6973591797
commit
61e6445f2e
@ -50,6 +50,9 @@
|
||||
#include <fstream>
|
||||
#include <sstream>
|
||||
|
||||
// FIXME Availability?
|
||||
#include <utime.h> // for utimbuf
|
||||
|
||||
#ifdef HAVE_UNISTD_H
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
@ -1313,7 +1316,7 @@ uLong filetime(const char * f, tm_zip * tmzip, uLong * dt)
|
||||
|
||||
#else
|
||||
#ifdef unix
|
||||
uLong filetime(const char * f, tm_zip * tmzip, uLong * dt)
|
||||
uLong filetime(const char * f, tm_zip * tmzip, uLong * /*dt*/)
|
||||
{
|
||||
int ret=0;
|
||||
struct stat s; /* results of stat() */
|
||||
@ -1481,8 +1484,8 @@ void change_file_date(const char * filename, uLong dosdate, tm_unz tmu_date)
|
||||
CloseHandle(hFile);
|
||||
#else
|
||||
#ifdef unix
|
||||
struct utimbuf ut;
|
||||
struct tm newdate;
|
||||
utimbuf ut;
|
||||
tm newdate;
|
||||
|
||||
newdate.tm_sec = tmu_date.tm_sec;
|
||||
newdate.tm_min=tmu_date.tm_min;
|
||||
|
Loading…
Reference in New Issue
Block a user