OSDN Git Service
(root)
/
pgbigm
/
pg_bigm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
198c004
)
Fix compilation failure on Apple LLVM 6.0.
author
MasaoFujii
<masao.fujii@gmail.com>
Fri, 13 Mar 2015 21:41:27 +0000
(06:41 +0900)
committer
MasaoFujii
<masao.fujii@gmail.com>
Fri, 13 Mar 2015 21:41:27 +0000
(06:41 +0900)
This commit adds missing "extern" declaration.
Back-patch to all supported versions.
bigm.h
patch
|
blob
|
history
diff --git
a/bigm.h
b/bigm.h
index
8be6338
..
526ea90
100644
(file)
--- a/
bigm.h
+++ b/
bigm.h
@@
-44,7
+44,7
@@
typedef struct
#define BIGMSIZE sizeof(bigm)
-
inline int
bigmstrcmp(char *arg1, int len1, char *arg2, int len2);
+
extern inline int
bigmstrcmp(char *arg1, int len1, char *arg2, int len2);
#define CMPBIGM(a,b) ( bigmstrcmp(((bigm *)a)->str, ((bigm *)a)->bytelen, ((bigm *)b)->str, ((bigm *)b)->bytelen) )
#define CPBIGM(bptr, s, len) do { \