Skip to content
Snippets Groups Projects
Commit c1b43ddf authored by Julien Malik's avatar Julien Malik
Browse files

WRG: do not unconditionnally define macro that can be defined elsewhere

parent 6878a7c9
No related branches found
No related tags found
No related merge requests found
......@@ -10,8 +10,10 @@
#ifdef __linux__
#define USE_LARGEFILE
#ifndef OFF_T
#define OFF_T __off64_t
#endif
#endif
#ifdef _AIX43
#define _LARGE_FILES
......@@ -39,8 +41,12 @@
#ifndef OFF_T
#define OFF_T off64_t
#endif
#ifndef _LARGEFILE_SOURCE
#define _LARGEFILE_SOURCE
#endif
#ifndef _LARGEFILE64_SOURCE
#define _LARGEFILE64_SOURCE
#endif
#include <sys/types.h>
#include <sys/stat.h>
#define FOPEN fopen64
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment