summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-11-06 23:29:31 +0000
committerDavid Robillard <d@drobilla.net>2011-11-06 23:29:31 +0000
commitaadd35d3138d964ebaaf5214533963cc5bb1a663 (patch)
tree5132c3c584feeed6c48ce1c16d957f4e1fabedcb /src
parentb8441be18d69447fcfa8c25ffce74d0a911f4a47 (diff)
downloadlilv-aadd35d3138d964ebaaf5214533963cc5bb1a663.tar.gz
lilv-aadd35d3138d964ebaaf5214533963cc5bb1a663.tar.bz2
lilv-aadd35d3138d964ebaaf5214533963cc5bb1a663.zip
Remove unnecessary _XOPEN_SOURCE defines causing problems on FreeBSD.
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3600 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r--src/instance.c2
-rw-r--r--src/node.c2
-rw-r--r--src/plugin.c2
-rw-r--r--src/pluginclass.c2
-rw-r--r--src/port.c2
-rw-r--r--src/query.c2
-rw-r--r--src/ui.c2
-rw-r--r--src/util.c2
-rw-r--r--src/world.c2
9 files changed, 1 insertions, 17 deletions
diff --git a/src/instance.c b/src/instance.c
index b12a7d3..e9d4591 100644
--- a/src/instance.c
+++ b/src/instance.c
@@ -14,8 +14,6 @@
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#define _XOPEN_SOURCE 500
-
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/src/node.c b/src/node.c
index ccccf88..dc018c8 100644
--- a/src/node.c
+++ b/src/node.c
@@ -14,8 +14,6 @@
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#define _XOPEN_SOURCE 500
-
#include <assert.h>
#include <locale.h>
#include <stdlib.h>
diff --git a/src/plugin.c b/src/plugin.c
index 2a945f4..a5ca1a7 100644
--- a/src/plugin.c
+++ b/src/plugin.c
@@ -14,8 +14,6 @@
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#define _XOPEN_SOURCE 500
-
#include <assert.h>
#include <math.h>
#include <stdarg.h>
diff --git a/src/pluginclass.c b/src/pluginclass.c
index 0764576..19ba227 100644
--- a/src/pluginclass.c
+++ b/src/pluginclass.c
@@ -14,8 +14,6 @@
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#define _XOPEN_SOURCE 500
-
#include <assert.h>
#include <stdlib.h>
#include <string.h>
diff --git a/src/port.c b/src/port.c
index c143b31..1a8ffaf 100644
--- a/src/port.c
+++ b/src/port.c
@@ -14,8 +14,6 @@
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#define _XOPEN_SOURCE 500
-
#include <assert.h>
#include <limits.h>
#include <stdio.h>
diff --git a/src/query.c b/src/query.c
index d37527f..e465a67 100644
--- a/src/query.c
+++ b/src/query.c
@@ -14,8 +14,6 @@
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#define _XOPEN_SOURCE 500
-
#include <assert.h>
#include <limits.h>
#include <stdlib.h>
diff --git a/src/ui.c b/src/ui.c
index 02563c4..824ed15 100644
--- a/src/ui.c
+++ b/src/ui.c
@@ -14,8 +14,6 @@
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#define _XOPEN_SOURCE 500
-
#include <assert.h>
#include <stdlib.h>
#include <string.h>
diff --git a/src/util.c b/src/util.c
index 91a9f33..0af0e1a 100644
--- a/src/util.c
+++ b/src/util.c
@@ -14,8 +14,6 @@
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#define _XOPEN_SOURCE 500
-
#include <assert.h>
#include <stdarg.h>
#include <stdlib.h>
diff --git a/src/world.c b/src/world.c
index 1efe368..9d74c6b 100644
--- a/src/world.c
+++ b/src/world.c
@@ -14,7 +14,7 @@
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#define _XOPEN_SOURCE 500
+#define _POSIX_SOURCE 1
#include <assert.h>
#include <errno.h>