Skip to content

Commit bb24321

Browse files
authored
__WORKERD_CXX__ define to identify when workerd-cxx fork is in use (#8)
1 parent 4c2fa90 commit bb24321

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

include/cxx.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@
2020
#include <sys/types.h>
2121
#endif
2222

23+
#ifndef __WORKERD_CXX__
24+
#define __WORKERD_CXX__
25+
#endif
26+
2327
namespace rust {
2428
inline namespace cxxbridge1 {
2529

0 commit comments

Comments
 (0)