mirror of
https://github.com/bkaradzic/bx.git
synced 2026-02-17 20:52:37 +01:00
RPI: Fixed compile warnings.
This commit is contained in:
@@ -68,7 +68,7 @@
|
||||
# undef BX_PLATFORM_WINRT
|
||||
# define BX_PLATFORM_WINRT 1
|
||||
# endif
|
||||
#elif defined(BCM2708)
|
||||
#elif defined(__VCCOREVER__)
|
||||
// RaspberryPi compiler defines __linux__
|
||||
# undef BX_PLATFORM_RPI
|
||||
# define BX_PLATFORM_RPI 1
|
||||
|
||||
@@ -708,7 +708,8 @@ function toolchain(_buildDir, _libDir)
|
||||
"/opt/vc/lib",
|
||||
}
|
||||
defines {
|
||||
"BCM2708", -- There is no special prefedined compiler symbol to detect RaspberryPi, faking it.
|
||||
"__VCCOREVER__=0x04000000", -- There is no special prefedined compiler symbol to detect RaspberryPi, faking it.
|
||||
"__STDC_VERSION__=199901L",
|
||||
}
|
||||
buildoptions {
|
||||
"-std=c++0x",
|
||||
|
||||
Reference in New Issue
Block a user