/usr/include/CLucene/config/CompilerBcb.h is in libclucene-dev 0.9.21b-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 | /*------------------------------------------------------------------------------
* Copyright (C) 2003-2006 Ben van Klinken and the CLucene Team
*
* Distributable under the terms of either the Apache License (Version 2.0) or
* the GNU Lesser General Public License, as specified in the COPYING file.
------------------------------------------------------------------------------*/
#if !defined(_lucene_COMPILER_BCB)
#define _lucene_COMPILER_BCB
// It is internal CLucene header - DO NOT include it directly
#include "CLucene/config/define_std.h"
#undef _CL_HAVE_STRTOLL
#undef _CL_HAVE_WCSTOLL
#define _LUCENE_PRAGMA_ONCE
#define _LUCENE_PRAGMA_WARNINGS //tell lucene to display warnings using pragmas instead of #warning
#define LUCENE_DISABLE_HASHING
#define LUCENE_STATIC_CONSTANT(type, assignment) enum { assignment }
#undef LUCENE_ENABLE_MEMLEAKTRACKING //it has been reported that this causes problems
#define fileSize filelength
#define fileSeek lseek
#define fileTell tell
#define fileStat stat
#define fileHandleStat fstat
#define O_RANDOM 0
//java long type
typedef __int64 int64_t;
typedef unsigned __int64 uint64_t;
//java int type
typedef int int32_t;
typedef unsigned int uint32_t;
//java byte type
typedef unsigned char uint8_t;
//floating point type
typedef double float_t;
//required type
typedef int intptr_t;
#define _CL_ILONG(x) x ## L
#define _ILONGLONG(x) x ## i64
#elif !defined(_lucene_COMPILER_BCB2)
#define _lucene_COMPILER_BCB2
//second inclusion
#define _open open
#define _timeb timeb
#define _ftime ::ftime
#define _rename rename
#define _realpath(rel,abs) _fullpath(abs,rel,CL_MAX_PATH)
#elif !defined(_lucene_COMPILER_BCB3)
#define _lucene_COMPILER_BCB3
//third inclusion
#endif
|