I used the SYS_BYTEORDER_H macro to decide whether or not to
include <sys/byteorder.h>. This seems appropriate, but I'm happy to
have the feature test changed to DGUX if this breaks some other
platform.
ramiro@netscape.com writes the follwing:
There probably is a proper way to do this in a completely XP way,
but dbm has been hacked so much that such a change is likely to
break a random platform out there. Im protecting this code with
#if defined(DGUX) to be really safe.
git-svn-id: svn://10.0.0.236/trunk@11688 18797224-902f-48f8-a5cc-f745e15eee43
won't accidentally override the system's snprintf and vsnprintf
functions. This patch is contributed by Soren Juul Moller <sjm@nwc.dk>.
git-svn-id: svn://10.0.0.236/trunk@10526 18797224-902f-48f8-a5cc-f745e15eee43
on big-endian machines. Use __osf__ instead of __alpha to identify
Digital Unix, which has <machine/endian.h>.
Files changed: mozilla/include/mcom_db.h, mozilla/dbm/include/mcom_db.h.
git-svn-id: svn://10.0.0.236/trunk@7909 18797224-902f-48f8-a5cc-f745e15eee43