mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
cgen: fix VUNREACHABLE on freebsd/tcc
This commit is contained in:
@@ -200,6 +200,9 @@ const c_common_macros = '
|
||||
#ifndef VUNREACHABLE
|
||||
#define VUNREACHABLE() do { } while (0)
|
||||
#endif
|
||||
#if defined(__FreeBSD__) && defined(__TINYC__)
|
||||
#define VUNREACHABLE() do { } while (0)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
//likely and unlikely macros
|
||||
|
||||
Reference in New Issue
Block a user