Module: kamailio Branch: master Commit: 84f6ca9b453b33dba321c11e12a0ebc0b9b8dab4 URL: https://github.com/kamailio/kamailio/commit/84f6ca9b453b33dba321c11e12a0ebc0b9b8dab4
Author: Victor Seva <linuxman...@torreviejawireless.org> Committer: Victor Seva <linuxman...@torreviejawireless.org> Date: 2023-12-22T09:49:43+01:00 main: fix build warning > CC (gcc) [kamailio] core/atomic_ops.o > main.c:34: warning: "_GNU_SOURCE" redefined > 34 | #define _GNU_SOURCE > | > <command-line>: note: this is the location of the previous definition --- Modified: src/main.c --- Diff: https://github.com/kamailio/kamailio/commit/84f6ca9b453b33dba321c11e12a0ebc0b9b8dab4.diff Patch: https://github.com/kamailio/kamailio/commit/84f6ca9b453b33dba321c11e12a0ebc0b9b8dab4.patch --- diff --git a/src/main.c b/src/main.c index 3aa79b73d91..c107f354672 100644 --- a/src/main.c +++ b/src/main.c @@ -31,7 +31,9 @@ */ #ifdef KSR_PTHREAD_MUTEX_SHARED +#ifndef _GNU_SOURCE #define _GNU_SOURCE +#endif #include <pthread.h> #include <dlfcn.h> #endif _______________________________________________ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org