[evolution] [win32] Windows SENS module cannot be built with C++ compiler



commit 5162756fb4958bf9e63bc906bb7bb6af70b0dbe7
Author: Fridrich Å trba <fridrich strba bluewin ch>
Date:   Mon Mar 29 15:30:40 2010 +0200

    [win32] Windows SENS module cannot be built with C++ compiler

 modules/windows-sens/evolution-windows-sens.c |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/modules/windows-sens/evolution-windows-sens.c b/modules/windows-sens/evolution-windows-sens.c
index 7410503..1a24f8e 100644
--- a/modules/windows-sens/evolution-windows-sens.c
+++ b/modules/windows-sens/evolution-windows-sens.c
@@ -17,7 +17,7 @@
  */
 
 #ifdef __cplusplus
-extern "C" {
+#error This file cannot be built with C++ compiler
 #endif
 
 #define INITGUID
@@ -593,6 +593,3 @@ e_module_unload (GTypeModule *type_module)
 {
 }
 
-#ifdef __cplusplus
-}
-#endif



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]