mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-05-28 15:34:33 +00:00
Add compiler check for __fennix__
This commit is contained in:
parent
8fd29ff0a9
commit
e012e8b3c1
@ -47,6 +47,10 @@
|
|||||||
#endif // UINTPTR_MAX != UINT64_MAX
|
#endif // UINTPTR_MAX != UINT64_MAX
|
||||||
#endif // aa64
|
#endif // aa64
|
||||||
|
|
||||||
|
#ifndef __fennix__
|
||||||
|
#error "This compiler is not supported!"
|
||||||
|
#endif // __fennix__
|
||||||
|
|
||||||
static_assert(sc_SEEK_SET == SEEK_SET);
|
static_assert(sc_SEEK_SET == SEEK_SET);
|
||||||
static_assert(sc_SEEK_CUR == SEEK_CUR);
|
static_assert(sc_SEEK_CUR == SEEK_CUR);
|
||||||
static_assert(sc_SEEK_END == SEEK_END);
|
static_assert(sc_SEEK_END == SEEK_END);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user