[Box Backup-dev] COMMIT r394 - box/chris/win32/cygwin-compile-fixes/lib/common
boxbackup-dev at fluffy.co.uk
boxbackup-dev at fluffy.co.uk
Tue Feb 7 11:04:10 GMT 2006
Author: chris
Date: 2006-02-07 11:04:05 +0000 (Tue, 07 Feb 2006)
New Revision: 394
Modified:
box/chris/win32/cygwin-compile-fixes/lib/common/BoxPlatform.h
Log:
* BoxPlatform.h
- Interception impossible on Cygwin as well
- Include emu.h on Cygwin
Modified: box/chris/win32/cygwin-compile-fixes/lib/common/BoxPlatform.h
===================================================================
--- box/chris/win32/cygwin-compile-fixes/lib/common/BoxPlatform.h 2006-02-07 11:02:07 UTC (rev 393)
+++ box/chris/win32/cygwin-compile-fixes/lib/common/BoxPlatform.h 2006-02-07 11:04:05 UTC (rev 394)
@@ -46,6 +46,10 @@
#define PLATFORM_CLIB_FNS_INTERCEPTION_IMPOSSIBLE
#endif
+#ifdef __CYGWIN__
+ #define PLATFORM_CLIB_FNS_INTERCEPTION_IMPOSSIBLE
+#endif
+
// Find out if credentials on UNIX sockets can be obtained
#ifndef HAVE_GETPEEREID
#if !HAVE_DECL_SO_PEERCRED
@@ -140,7 +144,7 @@
typedef ino_t InodeRefType;
#endif
-#ifdef WIN32
+#if defined WIN32 || defined __CYGWIN__
#define WIN32_LEAN_AND_MEAN
#include "emu.h"
#endif
More information about the Boxbackup-dev
mailing list