summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2018-10-13 22:41:32 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2018-10-13 22:41:32 +0900
commitd3b000753922843db4147711c3066bb6c262fb36 (patch)
treedc6e7b5f3e33b9398b719e470fcfcb9c074d0c27
parent5d9f0b15fc9290f70b69684e4a4aaa5243d77d73 (diff)
downloadtdenetwork-d3b000753922843db4147711c3066bb6c262fb36.tar.gz
tdenetwork-d3b000753922843db4147711c3066bb6c262fb36.zip
Replaced _BSD_SOURCE, _SVID_SOURCE with _DEFAULT_SOURCE. Removed AC_CHECK_GNU_EXTENSIONS.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--krfb/srvloc/uuid.cpp4
-rw-r--r--ktalkd/kcmktalkd/Makefile.am2
-rw-r--r--ktalkd/ktalkd/Makefile.am2
-rw-r--r--ktalkd/ktalkd/machines/Makefile.am2
-rw-r--r--ktalkd/ktalkdlg/Makefile.am2
5 files changed, 6 insertions, 6 deletions
diff --git a/krfb/srvloc/uuid.cpp b/krfb/srvloc/uuid.cpp
index 931f0aa8..0fe9bfc6 100644
--- a/krfb/srvloc/uuid.cpp
+++ b/krfb/srvloc/uuid.cpp
@@ -27,8 +27,8 @@
#include <sys/time.h>
#include <time.h>
-#ifndef _SVID_SOURCE
-#define _SVID_SOURCE
+#ifndef _DEFAULT_SOURCE
+#define _DEFAULT_SOURCE
#endif
#include <fcntl.h>
diff --git a/ktalkd/kcmktalkd/Makefile.am b/ktalkd/kcmktalkd/Makefile.am
index 88707ff9..fdd3546a 100644
--- a/ktalkd/kcmktalkd/Makefile.am
+++ b/ktalkd/kcmktalkd/Makefile.am
@@ -12,4 +12,4 @@ kcm_ktalkd_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module $(LIB_TQT) -lDCOP
kcm_ktalkd_la_LIBADD = $(LIB_TDEUI) $(LIB_TDEIO)
#for extra warnings during compilation :
-# AMDEFS = -ansi -pedantic -D_POSIX_SOURCE -D_BSD_SOURCE
+# AMDEFS = -ansi -pedantic -D_POSIX_SOURCE -D_DEFAULT_SOURCE
diff --git a/ktalkd/ktalkd/Makefile.am b/ktalkd/ktalkd/Makefile.am
index 53396c79..bbcb056d 100644
--- a/ktalkd/ktalkd/Makefile.am
+++ b/ktalkd/ktalkd/Makefile.am
@@ -9,7 +9,7 @@ INCLUDES = $(all_includes)
ktalkd_DEPS = machines/libmach.a
#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
###########################################################
diff --git a/ktalkd/ktalkd/machines/Makefile.am b/ktalkd/ktalkd/machines/Makefile.am
index 73484dfa..5fdf9a89 100644
--- a/ktalkd/ktalkd/machines/Makefile.am
+++ b/ktalkd/ktalkd/machines/Makefile.am
@@ -11,4 +11,4 @@ libmach_a_SOURCES = answmach.cpp forwmach.cpp talkconn.cpp
noinst_HEADERS = answmach.h forwmach.h talkconn.h
#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
diff --git a/ktalkd/ktalkdlg/Makefile.am b/ktalkd/ktalkdlg/Makefile.am
index 4c7acad6..2c97aaa2 100644
--- a/ktalkd/ktalkdlg/Makefile.am
+++ b/ktalkd/ktalkdlg/Makefile.am
@@ -11,5 +11,5 @@ ktalkdlg_LDFLAGS= $(all_libraries) $(KDE_RPATH) $(LIB_TQT) -lDCOP $(LIB_TDECORE)
ktalkdlg_LDADD = $(LIB_TDEUI) -lDCOP
#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