diff options
-rw-r--r-- | clucene/Library_clucene.mk | 7 | ||||
-rw-r--r-- | clucene/configs/_clucene-config-generic.h | 8 |
2 files changed, 8 insertions, 7 deletions
diff --git a/clucene/Library_clucene.mk b/clucene/Library_clucene.mk index bda591770370..29f08542cea1 100644 --- a/clucene/Library_clucene.mk +++ b/clucene/Library_clucene.mk @@ -42,9 +42,10 @@ $(eval $(call gb_Library_set_include,clucene,\ )) $(eval $(call gb_Library_add_defs,clucene,\ - -Dclucene_shared_EXPORTS\ - -Dclucene_core_EXPORTS\ - -Dclucene_contribs_lib_EXPORTS\ + -Dclucene_shared_EXPORTS \ + -Dclucene_core_EXPORTS \ + -Dclucene_contribs_lib_EXPORTS \ + $(LFS_CFLAGS) \ )) ifeq ($(SYSTEM_ZLIB),YES) diff --git a/clucene/configs/_clucene-config-generic.h b/clucene/configs/_clucene-config-generic.h index 2666c32a94ed..a516b60c4cb4 100644 --- a/clucene/configs/_clucene-config-generic.h +++ b/clucene/configs/_clucene-config-generic.h @@ -56,12 +56,12 @@ #define _ILONG(x) x ## L #define _ILONGLONG(x) x ## LL -#define fileStat stat64 -#define cl_stat_t stat64 +#define fileStat stat +#define cl_stat_t stat #define fileSize CL_NS(util)::Misc::filelength -#define fileSeek lseek64 +#define fileSeek lseek #define fileTell(fhandle) fileSeek(fhandle, 0, SEEK_CUR) -#define fileHandleStat fstat64 +#define fileHandleStat fstat #define _realpath realpath #define _rename rename #define _close close |