Replaced _BSD_SOURCE, _SVID_SOURCE with _DEFAULT_SOURCE. Removed AC_CHECK_GNU_EXTENSIONS.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/3/head
Michele Calgaro 6 years ago
parent 5d9f0b15fc
commit d3b0007539
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -27,8 +27,8 @@
#include <sys/time.h> #include <sys/time.h>
#include <time.h> #include <time.h>
#ifndef _SVID_SOURCE #ifndef _DEFAULT_SOURCE
#define _SVID_SOURCE #define _DEFAULT_SOURCE
#endif #endif
#include <fcntl.h> #include <fcntl.h>

@ -12,4 +12,4 @@ kcm_ktalkd_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module $(LIB_TQT) -lDCOP
kcm_ktalkd_la_LIBADD = $(LIB_TDEUI) $(LIB_TDEIO) kcm_ktalkd_la_LIBADD = $(LIB_TDEUI) $(LIB_TDEIO)
#for extra warnings during compilation : #for extra warnings during compilation :
# AMDEFS = -ansi -pedantic -D_POSIX_SOURCE -D_BSD_SOURCE # AMDEFS = -ansi -pedantic -D_POSIX_SOURCE -D_DEFAULT_SOURCE

@ -9,7 +9,7 @@ INCLUDES = $(all_includes)
ktalkd_DEPS = machines/libmach.a ktalkd_DEPS = machines/libmach.a
#for extra warnings during compilation : #for extra warnings during compilation :
#KDE_CXXFLAGS = -ansi -pedantic -D_POSIX_SOURCE -D_BSD_SOURCE #KDE_CXXFLAGS = -ansi -pedantic -D_POSIX_SOURCE -D_DEFAULT_SOURCE
########################################################### ###########################################################

@ -11,4 +11,4 @@ libmach_a_SOURCES = answmach.cpp forwmach.cpp talkconn.cpp
noinst_HEADERS = answmach.h forwmach.h talkconn.h noinst_HEADERS = answmach.h forwmach.h talkconn.h
#for extra warnings during compilation : #for extra warnings during compilation :
#AM_CXXFLAGS = -ansi -pedantic -D_POSIX_SOURCE -D_BSD_SOURCE #AM_CXXFLAGS = -ansi -pedantic -D_POSIX_SOURCE -D_DEFAULT_SOURCE

@ -11,5 +11,5 @@ ktalkdlg_LDFLAGS= $(all_libraries) $(KDE_RPATH) $(LIB_TQT) -lDCOP $(LIB_TDECORE)
ktalkdlg_LDADD = $(LIB_TDEUI) -lDCOP ktalkdlg_LDADD = $(LIB_TDEUI) -lDCOP
#for extra warnings during compilation : #for extra warnings during compilation :
#AM_CXXFLAGS = -ansi -pedantic -D_POSIX_SOURCE -D_BSD_SOURCE #AM_CXXFLAGS = -ansi -pedantic -D_POSIX_SOURCE -D_DEFAULT_SOURCE

Loading…
Cancel
Save