1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

cgen: register u8

This commit is contained in:
Alexander Medvednikov 2021-07-29 05:02:13 +03:00
parent 628498e0dc
commit 0b9b80e0c9
2 changed files with 4 additions and 4 deletions

View File

@ -90,7 +90,7 @@ ifdef WIN32
else
$(CC) $(CFLAGS) -std=gnu99 -w -o $(V) $(VC)/$(VCFILE) -lm -lpthread $(LDFLAGS)
$(V) -o v2.exe $(VFLAGS) cmd/v
mv -f v2.exe v
mv -f v2.exe v
endif
@echo "V has been successfully built"
@$(V) -version
@ -150,5 +150,5 @@ selfcompile-static:
### NB: Please keep this Makefile and make.bat simple.
install:
@echo 'Please use `sudo v symlink` instead.'
@echo 'Please use `sudo ./v symlink` instead.'

View File

@ -50,7 +50,6 @@ static inline void __sort_ptr(uintptr_t a[], bool b[], int l) {
'
const c_common_macros = '
//typedef unsigned char u8;
#define EMPTY_VARG_INITIALIZATION 0
#define EMPTY_STRUCT_DECLARATION
#define EMPTY_STRUCT_INITIALIZATION
@ -430,6 +429,7 @@ typedef int16_t i16;
typedef int8_t i8;
typedef uint64_t u64;
typedef uint32_t u32;
typedef uint8_t u8;
typedef uint16_t u16;
typedef uint8_t byte;
typedef uint32_t rune;