Skip to content

Commit 3a9f979

Browse files
committed
__WORKERD_CX__ define to identify when workerd-cxx fork is in use
1 parent 4c2fa90 commit 3a9f979

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

include/cxx.h

+4
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)