Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Makefile: use fileno macro work around on AIX
author
Clément Chigot
<clement.chigot@atos.net>
Thu, 18 Apr 2019 08:55:09 +0000
(08:55 +0000)
committer
Junio C Hamano
<gitster@pobox.com>
Thu, 25 Apr 2019 08:49:20 +0000
(17:49 +0900)
Declare FILENO_IS_A_MACRO on AIX
On AIX, fileno(fp) is a macro and need to use the work around already made for BSD's.
Signed-off-by: Clément Chigot <clement.chigot@atos.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
config.mak.uname
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
aeb582a
)
diff --git
a/config.mak.uname
b/config.mak.uname
index 2011bac6d54ebb66544c94aa27453e2545a7a34a..4ef11ce41873b03e1a22453f0fafcf3399efd199 100644
(file)
--- a/
config.mak.uname
+++ b/
config.mak.uname
@@
-269,6
+269,7
@@
ifeq ($(uname_S),AIX)
INTERNAL_QSORT = UnfortunatelyYes
NEEDS_LIBICONV = YesPlease
BASIC_CFLAGS += -D_LARGE_FILES
INTERNAL_QSORT = UnfortunatelyYes
NEEDS_LIBICONV = YesPlease
BASIC_CFLAGS += -D_LARGE_FILES
+ FILENO_IS_A_MACRO = UnfortunatelyYes
ifeq ($(shell expr "$(uname_V)" : '[1234]'),1)
NO_PTHREADS = YesPlease
else
ifeq ($(shell expr "$(uname_V)" : '[1234]'),1)
NO_PTHREADS = YesPlease
else