瀏覽代碼

Fixed compiler warnings.

woollybah 5 年之前
父節點
當前提交
42884be468
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      libuuid.mod/libuuid/src/gen_uuid.c

+ 1 - 0
libuuid.mod/libuuid/src/gen_uuid.c

@@ -104,6 +104,7 @@
 #endif
 #endif
 
 
 #ifdef _WIN32
 #ifdef _WIN32
+#define ftruncate _chsize
 static void gettimeofday (struct timeval *tv, void *dummy)
 static void gettimeofday (struct timeval *tv, void *dummy)
 {
 {
 	FILETIME	ftime;
 	FILETIME	ftime;