Mercurial > vim
comparison src/vim9execute.c @ 24899:701e4a2576dd v8.2.2987
patch 8.2.2987: build failure with normal features
Commit: https://github.com/vim/vim/commit/6d1792d4085c9905c9da6ff27065b57cb7cddc57
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jun 13 14:33:20 2021 +0200
patch 8.2.2987: build failure with normal features
Problem: Build failure with normal features.
Solution: Remove #define.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 13 Jun 2021 14:45:02 +0200 |
parents | e61a2085c89b |
children | 09d222e89a84 |
comparison
equal
deleted
inserted
replaced
24898:f8556206b6f9 | 24899:701e4a2576dd |
---|---|
736 typval_T argvars[MAX_FUNC_ARGS]; | 736 typval_T argvars[MAX_FUNC_ARGS]; |
737 funcexe_T funcexe; | 737 funcexe_T funcexe; |
738 int error; | 738 int error; |
739 int idx; | 739 int idx; |
740 int did_emsg_before = did_emsg; | 740 int did_emsg_before = did_emsg; |
741 compiletype_T compile_type = CT_NONE; | |
742 | |
741 #ifdef FEAT_PROFILE | 743 #ifdef FEAT_PROFILE |
742 compiletype_T compile_type = do_profiling == PROF_YES | 744 if (do_profiling == PROF_YES && ufunc->uf_profiling) |
743 && ufunc->uf_profiling ? CT_PROFILE : CT_NONE; | 745 compile_type = CT_PROFILE; |
744 #else | |
745 # define compile_type CT_NONE | |
746 #endif | 746 #endif |
747 | |
748 if (func_needs_compiling(ufunc, compile_type) | 747 if (func_needs_compiling(ufunc, compile_type) |
749 && compile_def_function(ufunc, FALSE, compile_type, NULL) | 748 && compile_def_function(ufunc, FALSE, compile_type, NULL) |
750 == FAIL) | 749 == FAIL) |
751 return FAIL; | 750 return FAIL; |
752 if (ufunc->uf_def_status == UF_COMPILED) | 751 if (ufunc->uf_def_status == UF_COMPILED) |