summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Stanley <joel@jms.id.au>2017-09-20 14:35:10 +0930
committerAlistair Popple <alistair@popple.id.au>2017-09-20 15:50:25 +1000
commitd187052b3359e0953aad3e7976e915d80460655e (patch)
treedf206a1708c3fa763a88ee2436fa6d67e0eb66cf
parent8c083c3c59e9ef208059ed512fd7fd2ab745ffd1 (diff)
downloadpdbg-d187052b3359e0953aad3e7976e915d80460655e.tar.gz
pdbg-d187052b3359e0953aad3e7976e915d80460655e.zip
Do not redefine _LARGEFILE64_SOURCE
Signed-off-by: Joel Stanley <joel@jms.id.au>
-rw-r--r--libpdbg/host.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libpdbg/host.c b/libpdbg/host.c
index 592816c..e799b96 100644
--- a/libpdbg/host.c
+++ b/libpdbg/host.c
@@ -13,7 +13,9 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+#ifndef _LARGEFILE64_SOURCE
#define _LARGEFILE64_SOURCE
+#endif
#define _GNU_SOURCE
#include <stdint.h>
#include <stdio.h>
OpenPOWER on IntegriCloud