diff --git a/libsharp/sharp_complex_hacks.h b/libsharp/sharp_complex_hacks.h index d06741e..70f8ffb 100644 --- a/libsharp/sharp_complex_hacks.h +++ b/libsharp/sharp_complex_hacks.h @@ -32,6 +32,10 @@ #ifndef SHARP_COMPLEX_HACKS_H #define SHARP_COMPLEX_HACKS_H +#ifdef __cplusplus +#error This header file cannot be included from C++, only from C +#endif + #include #include #include "sharp_vecsupport.h"