Fix abort definition for C++
This commit is contained in:
+1
-1
@@ -8,7 +8,7 @@ long double strtold(const char *nptr, char **endptr) {
|
||||
void __abort(const char *func, const char *file, int line);
|
||||
|
||||
// backup definition of abort for programs that link it directly
|
||||
void abort() {
|
||||
void abort(void) {
|
||||
// call detailed abort function
|
||||
__abort(__func__, __FILE__, __LINE__);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user