git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
C++: add __cplusplus check to top-level runtime header
36b2d9cAndy Arvanitis
pcc/runtime/purescript.hh+4
@@ -15,6 +15,10 @@
15#ifndef PureScript_HH
15#ifndef PureScript_HH
16#define PureScript_HH
16#define PureScript_HH
17
17
18+#if !defined(__cplusplus)
19+#error This is a C++ file!
20+#endif
21+
18// Standard includes
22// Standard includes
19
23
20#if defined(DEBUG)
24#if defined(DEBUG)