Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
doubaokun committed Dec 21, 2022
1 parent 9483cbd commit 081956b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions config.m4
Original file line number Diff line number Diff line change
Expand Up @@ -815,6 +815,7 @@ if test "$PHP_SWOOLE" != "no"; then
${SW_ASM_DIR}make_${SW_CONTEXT_ASM_FILE} \
${SW_ASM_DIR}jump_${SW_CONTEXT_ASM_FILE} "
AC_DEFINE(SW_USE_ASM_CONTEXT, 1, [use boost asm context])
AC_DEFINE(USE_BOOST_V2, 1, [use boost asm context v2])
fi

# 32-bit ARM
Expand Down
2 changes: 0 additions & 2 deletions include/swoole.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
#include "php_config.h"
#endif

#define USE_BOOST_V2 1

#ifdef __cplusplus
#define SW_EXTERN_C_BEGIN extern "C" {
#define SW_EXTERN_C_END }
Expand Down

0 comments on commit 081956b

Please sign in to comment.