blueloveTH 2 лет назад
Родитель
Сommit
ded75de379
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      include/pocketpy/config.h

+ 2 - 0
include/pocketpy/config.h

@@ -20,7 +20,9 @@
 #endif
 
 // Enable this for `vm->_ceval_on_step`
+#ifndef PK_ENABLE_CEVAL_CALLBACK    // can be overrided by cmake
 #define PK_ENABLE_CEVAL_CALLBACK    0
+#endif
 
 // Whether to use `std::function` to do bindings or not
 // By default, functions to be binded must be a C function pointer without capture