Gitweb links:
...log
http://git.netsurf-browser.org/netsurf.git/shortlog/6ce6b62099458c10eab762777e5d812c895df5d4
...commit
http://git.netsurf-browser.org/netsurf.git/commit/6ce6b62099458c10eab762777e5d812c895df5d4
...tree
http://git.netsurf-browser.org/netsurf.git/tree/6ce6b62099458c10eab762777e5d812c895df5d4
The branch, master has been updated
via 6ce6b62099458c10eab762777e5d812c895df5d4 (commit)
from 39176736b3b67d7ff528500f5e61b9f62c1f3190 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commitdiff
http://git.netsurf-browser.org/netsurf.git/commit/?id=6ce6b62099458c10eab762777e5d812c895df5d4
commit 6ce6b62099458c10eab762777e5d812c895df5d4
Author: Vincent Sanders <[email protected]>
Commit: Vincent Sanders <[email protected]>
stop defining _XOPEN_SOURCE
This is necessary with some libc as it overrides _POSIX_C_SOURCE
and removes definitions of scandir etc.
diff --git a/frontends/framebuffer/Makefile b/frontends/framebuffer/Makefile
index bdedd90..9b03a11 100644
--- a/frontends/framebuffer/Makefile
+++ b/frontends/framebuffer/Makefile
@@ -23,7 +23,6 @@ CFLAGS +=
'-DNETSURF_FB_FONT_FANTASY="$(NETSURF_FB_FONT_FANTASY)"'
CFLAGS += -std=c99 -g -Dsmall \
-D_BSD_SOURCE \
-D_DEFAULT_SOURCE \
- -D_XOPEN_SOURCE=600 \
-D_POSIX_C_SOURCE=200809L
LDFLAGS += -lm
diff --git a/frontends/gtk/Makefile b/frontends/gtk/Makefile
index ec60ce7..c19720f 100644
--- a/frontends/gtk/Makefile
+++ b/frontends/gtk/Makefile
@@ -37,7 +37,6 @@ GTKCFLAGS := -std=c99 -Dgtk -Dnsgtk -g \
$(GTKDEPFLAGS) \
-D_BSD_SOURCE \
-D_DEFAULT_SOURCE \
- -D_XOPEN_SOURCE=600 \
-D_POSIX_C_SOURCE=200809L \
-D_NETBSD_SOURCE \
-DGTK_RESPATH=\"$(NETSURF_GTK_RES_PATH)\"
diff --git a/frontends/monkey/Makefile b/frontends/monkey/Makefile
index 86f1d91..6604a88 100644
--- a/frontends/monkey/Makefile
+++ b/frontends/monkey/Makefile
@@ -12,7 +12,6 @@ CWARNFLAGS += -Werror
CFLAGS += -std=c99 -Dmonkey -Dnsmonkey -g \
-D_BSD_SOURCE \
-D_DEFAULT_SOURCE \
- -D_XOPEN_SOURCE=700 \
-D_POSIX_C_SOURCE=200809L \
-D_NETBSD_SOURCE \
-DMONKEY_RESPATH=\"$(NETSURF_MONKEY_RESOURCES)\"
diff --git a/utils/dirent.h b/utils/dirent.h
index fa78e14..318734c 100644
--- a/utils/dirent.h
+++ b/utils/dirent.h
@@ -28,8 +28,8 @@
* utils config header include.
*/
-#ifndef _NETSURF_UTILS_DIRENT_H_
-#define _NETSURF_UTILS_DIRENT_H_
+#ifndef NETSURF_UTILS_DIRENT_H
+#define NETSURF_UTILS_DIRENT_H
#include "utils/config.h"
-----------------------------------------------------------------------
Summary of changes:
frontends/framebuffer/Makefile | 1 -
frontends/gtk/Makefile | 1 -
frontends/monkey/Makefile | 1 -
utils/dirent.h | 4 ++--
4 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/frontends/framebuffer/Makefile b/frontends/framebuffer/Makefile
index bdedd90..9b03a11 100644
--- a/frontends/framebuffer/Makefile
+++ b/frontends/framebuffer/Makefile
@@ -23,7 +23,6 @@ CFLAGS +=
'-DNETSURF_FB_FONT_FANTASY="$(NETSURF_FB_FONT_FANTASY)"'
CFLAGS += -std=c99 -g -Dsmall \
-D_BSD_SOURCE \
-D_DEFAULT_SOURCE \
- -D_XOPEN_SOURCE=600 \
-D_POSIX_C_SOURCE=200809L
LDFLAGS += -lm
diff --git a/frontends/gtk/Makefile b/frontends/gtk/Makefile
index ec60ce7..c19720f 100644
--- a/frontends/gtk/Makefile
+++ b/frontends/gtk/Makefile
@@ -37,7 +37,6 @@ GTKCFLAGS := -std=c99 -Dgtk -Dnsgtk -g \
$(GTKDEPFLAGS) \
-D_BSD_SOURCE \
-D_DEFAULT_SOURCE \
- -D_XOPEN_SOURCE=600 \
-D_POSIX_C_SOURCE=200809L \
-D_NETBSD_SOURCE \
-DGTK_RESPATH=\"$(NETSURF_GTK_RES_PATH)\"
diff --git a/frontends/monkey/Makefile b/frontends/monkey/Makefile
index 86f1d91..6604a88 100644
--- a/frontends/monkey/Makefile
+++ b/frontends/monkey/Makefile
@@ -12,7 +12,6 @@ CWARNFLAGS += -Werror
CFLAGS += -std=c99 -Dmonkey -Dnsmonkey -g \
-D_BSD_SOURCE \
-D_DEFAULT_SOURCE \
- -D_XOPEN_SOURCE=700 \
-D_POSIX_C_SOURCE=200809L \
-D_NETBSD_SOURCE \
-DMONKEY_RESPATH=\"$(NETSURF_MONKEY_RESOURCES)\"
diff --git a/utils/dirent.h b/utils/dirent.h
index fa78e14..318734c 100644
--- a/utils/dirent.h
+++ b/utils/dirent.h
@@ -28,8 +28,8 @@
* utils config header include.
*/
-#ifndef _NETSURF_UTILS_DIRENT_H_
-#define _NETSURF_UTILS_DIRENT_H_
+#ifndef NETSURF_UTILS_DIRENT_H
+#define NETSURF_UTILS_DIRENT_H
#include "utils/config.h"
--
NetSurf Browser
_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org