mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-20 20:44:20 +00:00
Build System: Require __sync or __atomic functions.
This change causes the configure script to throw an error if neither __sync nor __atomic builtin functions are available. ASTERISK-27619 Change-Id: Ie01a281e0f5c41dfeeb5f250c1ccea8752f56ef9
This commit is contained in:
@@ -143,13 +143,6 @@ int check_eval(char *buffer, char *error_report);
|
||||
void parse_file(const char *fname);
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
char *find_var(const char *varname) /* the list should be pretty short, if there's any list at all */
|
||||
{
|
||||
|
Reference in New Issue
Block a user