Fixed cygwin build.
This commit is contained in:
@@ -962,4 +962,4 @@ const uint TO_ALL = 16;
|
||||
|
||||
// ------------------------------------------------------------------
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
@@ -210,7 +210,7 @@ int gfile::Read(void* __ptr, size_t __len)
|
||||
|
||||
// ------------------------------------------------------------------
|
||||
|
||||
int gfile::Write(void* __ptr, size_t __len)
|
||||
int gfile::Write(const void* __ptr, size_t __len)
|
||||
{
|
||||
int _ret = g_write(fh, __ptr, unsigned(__len));
|
||||
status = (_ret == -1) ? errno : 0;
|
||||
|
@@ -95,7 +95,7 @@ public:
|
||||
int Close ();
|
||||
|
||||
int Read (void* __ptr, size_t __len);
|
||||
int Write (void* __ptr, size_t __len);
|
||||
int Write (const void* __ptr, size_t __len);
|
||||
|
||||
long Tell ();
|
||||
long Lseek (long __offset, int __direction);
|
||||
|
@@ -195,4 +195,9 @@ void glog::store() {
|
||||
}
|
||||
|
||||
|
||||
// ------------------------------------------------------------------
|
||||
|
||||
glog LOG;
|
||||
|
||||
|
||||
// ------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user