Merged qplatformdefs.h for AIX
commit2547e8d27fc7d651d21ba3805918ee3681f03f05
authorJoão Abecasis <joao@trolltech.com>
Fri, 22 Jan 2010 10:31:31 +0000 (22 11:31 +0100)
committerJoão Abecasis <joao@trolltech.com>
Fri, 22 Jan 2010 16:50:21 +0000 (22 17:50 +0100)
tree1a8ad8f34d742a9361b199f738437c4d29b0c7ae
parent31d18e089691c7ffb9c9c48579f1004eded9fc6d
Merged qplatformdefs.h for AIX

I don't think the differences warranted having to maintain 3 slightly
differing copies. "Old" locations changed to a forwarding header to the
merged one.

Differences and how they were resolved in the merged file:

- comment on a workaround for a potential issue when using g++
    => comment kept

- #ifdef's for xlc-64 had been simplified, because it is only supported
on AIX 4.3 and above
    => versioned #ifdefs should still work on 64-bit platforms, so that
    was preferred; comment left for future reference

- use of different condition in #if clause: (_XOPEN_SOURCE-0 >= 500)
    => verbosity preferred, since it is probably a workaround for a
    preprocessor or #define bug.

Reviewed-by: Thiago Macieira
mkspecs/aix-g++-64/qplatformdefs.h
mkspecs/aix-g++/qplatformdefs.h
mkspecs/aix-xlc-64/qplatformdefs.h
mkspecs/aix-xlc/qplatformdefs.h
mkspecs/common/aix/qplatformdefs.h [copied from mkspecs/aix-g++-64/qplatformdefs.h with 90% similarity]