aboutsummaryrefslogtreecommitdiffstats
path: root/libexfat/io.c
diff options
context:
space:
mode:
authorrelan <relan@users.noreply.github.com>2012-05-18 16:05:13 +0000
committerrelan <relan@users.noreply.github.com>2015-08-24 08:26:14 +0300
commite67a48863191301458239a69a2323b9307a44bf2 (patch)
tree417dbde8c46f557845cf9e3f46b8bf6febbcb168 /libexfat/io.c
parent7e5c0371ed192826c24100dbd22b45a1e3405df5 (diff)
downloadandroid_external_exfat-e67a48863191301458239a69a2323b9307a44bf2.tar.gz
android_external_exfat-e67a48863191301458239a69a2323b9307a44bf2.tar.bz2
android_external_exfat-e67a48863191301458239a69a2323b9307a44bf2.zip
Explicitly require C99 and define _GNU_SOURCE.
This enables all needed functions.
Diffstat (limited to 'libexfat/io.c')
-rw-r--r--libexfat/io.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libexfat/io.c b/libexfat/io.c
index 8e9de8c..f0beddc 100644
--- a/libexfat/io.c
+++ b/libexfat/io.c
@@ -18,7 +18,6 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#define _XOPEN_SOURCE 500 /* for pread() and pwrite() in Linux */
#include "exfat.h"
#include <inttypes.h>
#include <sys/types.h>