mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-08-25 21:15:00 +00:00
Add compiler check for __fennix__
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user