[Box Backup-commit] COMMIT r1407 - box/chris/merge/lib/win32

boxbackup-dev at fluffy.co.uk boxbackup-dev at fluffy.co.uk
Sat Mar 10 18:01:07 GMT 2007


Author: chris
Date: 2007-03-10 18:01:07 +0000 (Sat, 10 Mar 2007)
New Revision: 1407

Modified:
   box/chris/merge/lib/win32/emu.h
Log:
Added d_type member to struct dirent, initialise with S_IFDIR or S_IFREG

MinGW compile fix

(refs #3, merges [775])


Modified: box/chris/merge/lib/win32/emu.h
===================================================================
--- box/chris/merge/lib/win32/emu.h	2007-03-10 17:50:33 UTC (rev 1406)
+++ box/chris/merge/lib/win32/emu.h	2007-03-10 18:01:07 UTC (rev 1407)
@@ -6,7 +6,9 @@
 // basic types, may be required by other headers since we
 // don't include sys/types.h
 
-#ifndef __MINGW32__
+#ifdef __MINGW32__
+	#include <stdint.h>
+#else // MSVC
 	typedef unsigned __int64 u_int64_t;
 	typedef unsigned __int64 uint64_t;
 	typedef          __int64 int64_t;




More information about the Boxbackup-commit mailing list