blob: 2a6d30d53e635621d383bf90d28eefcf327b2dbc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
$NetBSD: patch-browser_mongoose.c,v 1.1 2014/02/08 12:27:14 wiedi Exp $
not needed on sunos
--- browser/mongoose.c.orig 2011-11-17 17:17:36.000000000 +0000
+++ browser/mongoose.c
@@ -21,7 +21,9 @@
#if defined(_WIN32)
#define _CRT_SECURE_NO_WARNINGS // Disable deprecation warning in VS2005
#else
+#if !defined(__sun)
#define _XOPEN_SOURCE 600 // For flockfile() on Linux
+#endif
#define _LARGEFILE_SOURCE // Enable 64-bit file offsets
#define __STDC_FORMAT_MACROS // <inttypes.h> wants this for C++
#endif
|