History log of /sssd/src/util/sss_endian.h
Revision Date Author Comments Expand
fa0938a6e3cb928602633c3da0b909deb269369d 14-Mar-2014 Lukas Slebodnik <lslebodn@redhat.com>

Use pattern #elif defined(identifier) We had in source code following pattern #elif HAVE_<name> It worked because undefined identifier(in some cases) was evaluated to 0. But we do not care about value of HAVE_SOMETHING. We just need to know whether identifier was defined. There is not equivalent to #ifdef (short for of #if definded) We need to use long form: #elif defined HAVE_<name> It causes also compiler warning with enabled compiler flag -Wundef. Reviewed-by: Pavel Reichl <preichl@redhat.com>

1658c567191c35beaddffafdb079abe33248037b 28-Aug-2013 Lukas Slebodnik <lslebodn@redhat.com>

UTIL: Create new wraper header file sss_endian.h Some platform have header file endian.h and anothers have sys/endian.h. We nedd to use conditional build to handle it correctly, therefore new header file sss_endian.h was created.