Skip to content
Snippets Groups Projects
Commit d7125b74 authored by Joshua Colp's avatar Joshua Colp
Browse files

Add ast_atomic_fetchadd_int_slow to check_expr for platforms that need it.

(closes issue #11484)
Reported by: snuffy


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@92206 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 8a7064d3
Branches
Tags
No related merge requests found
......@@ -148,6 +148,14 @@ void parse_file(const char *fname);
void ast_register_file_version(const char *file, const char *version) { }
int ast_add_profile(const char *x, uint64_t scale) { return 0;}
int ast_atomic_fetchadd_int_slow(volatile int *p, int v)
{
int ret;
ret = *p;
*p += v;
return ret;
}
void ast_unregister_file_version(const char *file)
{
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment