]> git.vpit.fr Git - perl/modules/indirect.git/blobdiff - xsh/caps.h
Update XS helpers to 18554226
[perl/modules/indirect.git] / xsh / caps.h
index 4559524863696f5c51f32a9a99fd224a10818b90..6c0b9446e218f8f5f5ac40fddaef490faec09972 100644 (file)
@@ -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))