mirror of
https://github.com/love2d/love.git
synced 2026-08-12 08:30:56 +02:00
Verify both platform and endianness have been determined in configuration
This commit is contained in:
@@ -140,4 +140,12 @@
|
||||
# define LOVE_ENABLE_WUFF
|
||||
#endif
|
||||
|
||||
// Check we have a sane configuration
|
||||
#if !defined(LOVE_WINDOWS) && !defined(LOVE_LINUX) && !defined(LOVE_IOS) && !defined(LOVE_MACOSX)
|
||||
# error Could not detect target platform
|
||||
#endif
|
||||
#if !defined(LOVE_LITTLE_ENDIAN) && !defined(LOVE_BIG_ENDIAN)
|
||||
# error Could not detect endianness
|
||||
#endif
|
||||
|
||||
#endif // LOVE_CONFIG_H
|
||||
|
||||
Reference in New Issue
Block a user