aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/windows-sens/evolution-windows-sens.c5
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 7410503ac9..1a24f8e8a8 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