Skip to content

Commit

Permalink
源码方式放到ue自动忽略几个宏未定义的warning
Browse files Browse the repository at this point in the history
  • Loading branch information
chexiongsheng committed Jul 22, 2024
1 parent 13ebbc4 commit f013f71
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/v8-impl.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
#ifdef USING_IN_UNREAL_ENGINE
PRAGMA_DISABLE_UNDEFINED_IDENTIFIER_WARNINGS
#endif
#include "v8.h"
#ifdef USING_IN_UNREAL_ENGINE
PRAGMA_ENABLE_UNDEFINED_IDENTIFIER_WARNINGS
#endif
#include<cstring>
#include <algorithm>

Expand Down

0 comments on commit f013f71

Please sign in to comment.