diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2021-07-23 10:17:49 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2021-07-23 10:17:49 +0300 |
commit | b754bef14316ff2b341fac4339940a29d6955d6c (patch) | |
tree | 7ca94147929950d095478deb330b8ea24bb040f5 /awk.h | |
parent | 2db204045f8060dbe1fc09f765373c101d0aad2c (diff) | |
parent | 93881c26428a4d07ee348c34b59f3b9586853535 (diff) | |
download | egawk-b754bef14316ff2b341fac4339940a29d6955d6c.tar.gz egawk-b754bef14316ff2b341fac4339940a29d6955d6c.tar.bz2 egawk-b754bef14316ff2b341fac4339940a29d6955d6c.zip |
Merge branch 'gawk-5.1-stable'
Diffstat (limited to 'awk.h')
-rw-r--r-- | awk.h | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -755,6 +755,16 @@ enum redirval { struct break_point; +#if __DECC && __VAX +typedef unsigned long exec_count_t; // for exec_count +#define EXEC_COUNT_FMT "%lu" +#define EXEC_COUNT_PROFILE_FMT "%6lu" +#else +typedef unsigned long long exec_count_t; // for exec_count +#define EXEC_COUNT_FMT "%llu" +#define EXEC_COUNT_PROFILE_FMT "%6llu" +#endif + typedef struct exp_instruction { struct exp_instruction *nexti; union { @@ -765,7 +775,7 @@ typedef struct exp_instruction { awk_value_t *result, struct awk_ext_func *finfo); long dl; - unsigned long long ldl; // for exec_count + exec_count_t ldl; // for exec_count char *name; } d; |