Add specific check routine for compiling under OS X
[bertos.git] / bertos / drv / kdebug.c
index f75f18334f43384b5650dd8818692076606ffab7..37192dd5b58e5eb57df1a163186654b86cd9ea4c 100644 (file)
@@ -190,7 +190,7 @@ static void klocation(const char * PGM_ATTR file, int line)
        PGM_FUNC(kputs)(PGM_STR(": "));
 }
 
-int PGM_FUNC(__assert)(const char * PGM_ATTR cond, const char * PGM_ATTR file, int line)
+int PGM_FUNC(__bassert)(const char * PGM_ATTR cond, const char * PGM_ATTR file, int line)
 {
        klocation(file, line);
        PGM_FUNC(kputs)(PGM_STR("Assertion failed: "));