tests.sh: force LC_ALL that cause issues with MacOSX
[nit.git] / src / platform.nit
index 3d15546..3c5367f 100644 (file)
@@ -18,7 +18,6 @@ module platform
 
 import modelize_property
 import parser_util
-import simple_misc_analysis
 import modelbuilder
 
 redef class ToolContext
@@ -112,4 +111,10 @@ end
 #
 # Services will be added to this class in other modules.
 abstract class Platform
+       fun supports_libunwind: Bool do return true
+
+       fun supports_libgc: Bool do return true
+
+       # Does this platform declare its own main function? If so, we won't generate one in Nit.
+       fun no_main: Bool do return false
 end