X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FVPIT-XSHelpers.git;a=blobdiff_plain;f=xsh%2Fcaps.h;fp=xsh%2Fcaps.h;h=6c0b9446e218f8f5f5ac40fddaef490faec09972;hp=4559524863696f5c51f32a9a99fd224a10818b90;hb=ae9dac2afcda73d39905af2af302aada956ea92d;hpb=1536a5dd62387d25653e80e8cfe2e0e86f5230ed diff --git a/xsh/caps.h b/xsh/caps.h index 4559524..6c0b944 100644 --- a/xsh/caps.h +++ b/xsh/caps.h @@ -1,6 +1,10 @@ #ifndef XSH_CAPS_H #define XSH_CAPS_H 1 +#ifdef __cplusplus +# error C++ compilers are not supported +#endif + #define XSH_HAS_PERL(R, V, S) (PERL_REVISION > (R) || (PERL_REVISION == (R) && (PERL_VERSION > (V) || (PERL_VERSION == (V) && (PERL_SUBVERSION >= (S)))))) #define XSH_HAS_PERL_BRANCH(R, V, S) (PERL_REVISION == (R) && PERL_VERSION == (V) && PERL_SUBVERSION >= (S))