blueloveTH %!s(int64=2) %!d(string=hai) anos
pai
achega
ded75de379
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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