Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Riedy <ejr@EECS.Berkeley.EDU>2005-12-07 01:20:16 +0300
committerJunio C Hamano <junkio@cox.net>2005-12-07 03:15:55 +0300
commita6da9395a5b6d3df901ce0a6cb61d123f77d7342 (patch)
tree06c986caabcf4b5c9eefca3678bc85444fb281d4 /convert-objects.c
parentbe61db922a230ae2638c27c071ee4b8c98f01f72 (diff)
[PATCH] Initial AIX portability fixes.
Added an AIX clause in the Makefile; that clause likely will be wrong for any AIX pre-5.2, but I can only test on 5.3. mailinfo.c was missing the compat header file, and convert-objects.c needs to define a specific _XOPEN_SOURCE as well as _XOPEN_SOURCE_EXTENDED. Signed-off-by: E. Jason Riedy <ejr@cs.berkeley.edu> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'convert-objects.c')
-rw-r--r--convert-objects.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/convert-objects.c b/convert-objects.c
index d78a8b4ae3..b49bce2681 100644
--- a/convert-objects.c
+++ b/convert-objects.c
@@ -1,4 +1,5 @@
-#define _XOPEN_SOURCE /* glibc2 needs this */
+#define _XOPEN_SOURCE 500 /* glibc2 and AIX 5.3L need this */
+#define _XOPEN_SOURCE_EXTENDED 1 /* AIX 5.3L needs this */
#include <time.h>
#include "cache.h"