diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-02-23 12:57:14 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-02-23 12:57:29 +0000 |
commit | 3b18642d62dad7128420f1d59f632acf5057da2b (patch) | |
tree | 61f8ffc5d6d97a1eb5fae05888cd45d7e79c86d2 /clucene | |
parent | e3e7623bf6cecf0e32912347a58e5a2c7297099d (diff) |
tweak generic config for MacOSX
Diffstat (limited to 'clucene')
-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 |