Skip to content

Commit 9662f10

Browse files
committed
[workerd-cxx] __WORKERD_CXX__ define to identify when workerd-cxx fork is in use (#8)
1 parent bccd507 commit 9662f10

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
@@ -28,6 +28,10 @@
2828
#include <ranges>
2929
#endif
3030

31+
#ifndef __WORKERD_CXX__
32+
#define __WORKERD_CXX__
33+
#endif
34+
3135
namespace rust {
3236
inline namespace cxxbridge1 {
3337

0 commit comments

Comments
 (0)