summaryrefslogtreecommitdiff
path: root/tools/compat/compat_defs.h
AgeCommit message (Expand)Author
2014-01-09fix prototype for strnlen.apb
2014-01-09Declare and define strnlen if necessary.apb
2013-10-24Define __USE for use during a tools build.apb
2013-08-18Support __format_arg.joerg
2013-08-06declare snptintb_m() and snprintb() if HAVE_SNPRINTB is not defined.apb
2013-07-20revert socklen_t to int (from dh)christos
2013-07-19PR/48063: Justin Cormack: incorrect definition of socklen_tchristos
2013-03-05add dprintfchristos
2013-02-17cygwin defines u_quad_t in <rpc/types.h>, so include this to the headerschristos
2012-06-04Make Alan Barrett happy and add ().joerg
2012-06-03Add __predict_true / __predict_false definitions.joerg
2012-06-02Don't depend on __P.joerg
2012-01-21Always redefine DEV_BSIZE=512.tsutsui
2011-11-03Add getline(3) compat glue.joerg
2011-09-05Add PDP_ENDIAN definition, required for makefs (v7fs).jdc
2011-08-27Ensure __printflike exists.joerg
2011-07-17Retire varargs.h support. Move machine/stdarg.h logic into MIjoerg
2011-01-10Define PRI[diouxX]8. We previously did this only forapb
2010-01-14undef and redefine instead of checking if it is define, from joergchristos
2010-01-14provide __arraycount for those that don't have it.christos
2009-11-11Revert most of revision 1.73:tron
2009-11-06Define __RCSID and __COPYRIGHT as structure, so that the followingjoerg
2009-10-02split all the password and group translation functions into individualchristos
2009-02-24Make 'build.sh tools' work with the Sun Studio compiler, although bugs insketch
2009-02-03avoid including grp.hdbj
2009-01-18Use hex instead of decimal in #if FOO_MAX == 0xffff.... tests, andapb
2009-01-18Provide definitions for PRI{d,i,o,u,x,X}{16,32,64}. Many toolsapb
2009-01-06Apply part of the patch from Julio M. Merino Vidal inagc
2008-10-20The tools/compat versions of mkstemp() and mkdtemp() need to call theapb
2008-10-20Define __USE_ISOC99 for linux, making the isblank() proto appear.dogcow
2007-10-30Try to address mess with user_from_uid and friends by ensuring we alwaystls
2007-10-19I am now convinced of the error of my ways, and I am checking for all thechristos
2007-10-18Move linux block up higher as it was before. noted by apbchristos
2007-10-18- define the NetBSD options before including any fileschristos
2007-09-28Add raise_default_signal().lukem
2007-08-07Provide definitions for {be,le}{16,32,64}{enc,dec} if necessary.apb
2007-07-03Add strndup(3) to libnbcompat, since estrndup(3) added into efun.c calls it.nakayama
2007-01-09Fix tools build, binstall/xinstall, for systems without id_t, e.g.ginsbach
2006-10-12kill __unusedchristos
2006-10-09sideways check for error functions.christos
2006-10-07Add definitions for strmode. This was missing from theapb
2006-09-29Use ${HOST_SH} instead of the host system's /bin/sh wherever possible:apb
2006-08-20Also check for DIR.__dd_fd. tools/compat now builds on the WWDC developerthorpej
2006-02-14Two changes to facilitate building tools on Darwin:dyoung
2006-02-11Define prototypes for strsuftoll and strsuftollx if the one forwiz
2006-02-10Adapt for bswap* changes in configure.ac.wiz
2006-02-09change #include <sys/endian.h> => #include <machine/endian.h> so thatdogcow
2005-09-14Make cross compiling NetBSD under Linux work again. Problem noted bytron
2005-08-27UINT8_MAX and UINT16_MAX are needed for disklabel.uwe
2005-08-22Define "_PATH_VI" if necessary to make cross-building work again undertron