1
0
mirror of https://github.com/janet-lang/janet synced 2025-10-17 08:47:39 +00:00

Try and fix os.clock on windows.

This commit is contained in:
Calvin Rose
2018-07-08 20:54:41 -04:00
parent f92f358279
commit 5b15ad9ff8
8 changed files with 31 additions and 47 deletions

View File

@@ -209,8 +209,10 @@ static void inc_gensym(void) {
for (int i = sizeof(gensym_counter) - 2; i; i--) {
if (gensym_counter[i] == '9') {
gensym_counter[i] = 'a';
break;
} else if (gensym_counter[i] == 'z') {
gensym_counter[i] = 'A';
break;
} else if (gensym_counter[i] == 'Z') {
gensym_counter[i] = '0';
} else {