Age | Commit message (Collapse) | Author |
|
I kinda hate to do this, it was nice to have everything in one place.
However, the meson build wants to be able to wrap this module as a
dependency, and code that depends on these headers includes them in the
form:
#include <X11/Xfuncproto.h>
As a result, any include path meson can construct needs to point to the
root of a hierarchy that has the same path layout as an installed copy,
hence this change.
Signed-off-by: Adam Jackson <ajax@redhat.com>
|
|
Includes changing remaining sun ifdef's to check for standard-conformant /
non-namespace-polluting #ifdef __sun instead of older #ifdef sun.
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
|
|
git diff -w shows no changes other than whitespace in this patch
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
|
|
|
|
Seriously C89 already you guys.
|
|
|
|
|
|
|
|
_POSIX_C_SOURCE will cause fd_mask to not be defined due to the strict namespace
|
|
|
|
"""
It's simply obsolete, sloppy, compiler namespace pollution. The
compiler is not allowed to predefine symbols that might conflict with
ordinary identifiers. For backwards compatibility gcc currently
predefines i386 when compiling for x86 32-bit (but not 64-bit), but that
will go away. It is also not defined if you specify -ansi when invoking
the compiler, because then it is seriously standards compliant. Other
compilers shouldn't define it either. Correct code shouldn't rely on it
being defined. However __i386__ is safe and proper.
"""
|
|
|
|
|
|
configuration. For use in the modular tree.
|
|
Export ImUtil.h to match modular tree install.
Define SVR4 to 1 to avoid warning about redefining to different values.
Include missing headers to clear more compiler warnings.
|
|
-D_XOPEN_SOURCE -D_BSD_SOURCE everywhere as this will leak out of the
modular environment and into application build processes, potentially
foulling up their compiles.
|
|
https://bugs.freedesktop.org/show_bug.cgi?id=3158 Patch #2588:
https://bugs.freedesktop.org/attachment.cgi?id=2588 (Henry Zhao, Sun
Microsystems)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|