summaryrefslogtreecommitdiff
path: root/libgphoto2_port
diff options
context:
space:
mode:
authorMarcus Meissner <marcus@jet.franken.de>2018-06-17 10:29:37 +0200
committerMarcus Meissner <marcus@jet.franken.de>2018-06-17 10:31:02 +0200
commit8733bf10e2898425fd30b2f96fe6f1da0d6ebca2 (patch)
tree0f6b891d18dc97c2196f5d235e84f962a980549d /libgphoto2_port
parent24793093ac4ebd6d2e77fe76d4e9bdf92f82de51 (diff)
downloadlibgphoto2-8733bf10e2898425fd30b2f96fe6f1da0d6ebca2.tar.gz
BSD_SOURCE defined changed to DEFAULT_SOURCE
Diffstat (limited to 'libgphoto2_port')
-rw-r--r--libgphoto2_port/libgphoto2_port/gphoto2-port-log.c2
-rw-r--r--libgphoto2_port/libgphoto2_port/gphoto2-port.c2
-rw-r--r--libgphoto2_port/serial/unix.c2
-rw-r--r--libgphoto2_port/usbdiskdirect/linux.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/libgphoto2_port/libgphoto2_port/gphoto2-port-log.c b/libgphoto2_port/libgphoto2_port/gphoto2-port-log.c
index cf9dce38c..6bf15f6c5 100644
--- a/libgphoto2_port/libgphoto2_port/gphoto2-port-log.c
+++ b/libgphoto2_port/libgphoto2_port/gphoto2-port-log.c
@@ -21,7 +21,7 @@
* Boston, MA 02110-1301 USA
*/
-#define _BSD_SOURCE
+#define _DEFAULT_SOURCE
#include "config.h"
#include <gphoto2/gphoto2-port-log.h>
diff --git a/libgphoto2_port/libgphoto2_port/gphoto2-port.c b/libgphoto2_port/libgphoto2_port/gphoto2-port.c
index 6445b96c9..8f84482a2 100644
--- a/libgphoto2_port/libgphoto2_port/gphoto2-port.c
+++ b/libgphoto2_port/libgphoto2_port/gphoto2-port.c
@@ -23,7 +23,7 @@
* Boston, MA 02110-1301 USA
*/
-#define _BSD_SOURCE
+#define _DEFAULT_SOURCE
#include "config.h"
diff --git a/libgphoto2_port/serial/unix.c b/libgphoto2_port/serial/unix.c
index 0b6876e0a..095ddfa8a 100644
--- a/libgphoto2_port/serial/unix.c
+++ b/libgphoto2_port/serial/unix.c
@@ -27,7 +27,7 @@
* Boston, MA 02110-1301 USA
*/
-#define _BSD_SOURCE
+#define _DEFAULT_SOURCE
/* Solaris needs this */
#define __EXTENSIONS__
diff --git a/libgphoto2_port/usbdiskdirect/linux.c b/libgphoto2_port/usbdiskdirect/linux.c
index d890e9667..a5de0b01a 100644
--- a/libgphoto2_port/usbdiskdirect/linux.c
+++ b/libgphoto2_port/usbdiskdirect/linux.c
@@ -17,7 +17,7 @@
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301 USA
*/
-#define _BSD_SOURCE
+#define _DEFAULT_SOURCE
#include "config.h"
#include <gphoto2/gphoto2-port-library.h>